ProtoFlux:Indirect Write Latch

From Resonite Wiki
Revision as of 01:29, 3 February 2024 by 989onan (talk | contribs) (create indirect write latch page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Indirect Write Latch
Set
OnSet
Reset
OnReset
Variable
OnFail
SetValue
ResetValue
Indirect

Indirect write latches can be commonly found in legacy content that has been migrated from other platforms. Indirect write latches take Variable (Variable) as an input, and the type that Variable wraps will determine what SetValue (Generic) and ResetValue (Generic) will take as a value. The set and reset value inputs will never take different types from each other.

This is also useful for Multiplexing multiple variables into the Variable (Variable) connection on the indirect write latch, which can be useful to reduce the nodes needed to set and reset a list of variables during a For or While loop.

Inputs

Reset (Call)

Call this to set the value being wrapped by Variable (Variable Generic) to the ResetValue (Generic) input.

Set (Call)

Call this to set the value being wrapped by Variable (Variable Generic) to the SetValue (Generic) input.

Variable (Variable Generic)

The Variable to write to.

SetValue (Generic)

Value to write to the value wrapped by Variable (Variable Generic) upon calling Set (Call)

ResetValue (Generic)

Value to write to the value wrapped by Variable (Variable Generic) upon calling Reset (Call)

Outputs

OnSet (Continuation)

sends an impulse after SetValue (Call) has been impulsed and the value wrapped by Variable (Variable Generic) has been set to SetValue (Generic).

OnReset (Continuation)

sends an impulse after ResetValue (Call) has been impulsed and the value wrapped by Variable (Variable Generic) has been set to ResetValue (Generic).

OnFail (Continuation)

sends an impulse after either ResetValue (Call) or SetValue (Call) has been impulsed and the value wasn't able to be written due to a missing target or the variable not wrapping a valid IField`1

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.