Difference between revisions of "Write Ref Latch (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m
m
 
Line 7: Line 7:
 
| Input0Type = Impulse | Input0Name = Set
 
| Input0Type = Impulse | Input0Name = Set
 
| Input1Type = Impulse | Input1Name = Reset
 
| Input1Type = Impulse | Input1Name = Reset
| Input2Type = Slot | Input2Name = SetReference
+
| Input2Type = IWorldElement | Input2Name = SetReference
| Input3Type = Slot | Input3Name = ResetReference
+
| Input3Type = IWorldElement | Input3Name = ResetReference
| Output0Type = IValue`1 | Output0Name = Target
+
| Output0Type = SyncRef`1| Output0Name = Target
 
| Output1Type = Impulse | Output1Name = OnSet
 
| Output1Type = Impulse | Output1Name = OnSet
 
| Output2Type = Impulse | Output2Name = OnReset
 
| Output2Type = Impulse | Output2Name = OnReset
Line 18: Line 18:
  
 
== Usage == <!--T:3-->
 
== Usage == <!--T:3-->
When spawned from the node browser, the <code>SetReference</code> and <code>ResetReference</code> have a Slot datatype. This will overload to match the input reference type when a valid input is connected. The type of these two inputs and that of the referenced <code>Target</code> must match.
+
When spawned from the node browser, the <code>SetReference</code> and <code>ResetReference</code> have a IWorldElement datatype. This will overload to match the input reference type when a valid input is connected. The type of these two inputs and that of the referenced <code>Target</code> must match.
  
  

Latest revision as of 01:42, 7 May 2022

Other languages:
English • ‎日本語
Write Latch
'Write Ref Latch' LogiX node
Inputs
  Impulse Set
  Impulse Reset
  IWorldElement SetReference
  IWorldElement ResetReference
Outputs
  SyncRef`1 Target
  Impulse OnSet
  Impulse OnReset

The Write Ref Latch node node overwrites the target reference with the input SetReference or ResetReference when an impulse is received at Set or Reset respectively.

Usage

When spawned from the node browser, the SetReference and ResetReference have a IWorldElement datatype. This will overload to match the input reference type when a valid input is connected. The type of these two inputs and that of the referenced Target must match.


The OnSet output fires an impulse after an impulse is received at Set. This occurs regardless of whether there is a valid Target or whether any Target was actually written to. This continues the impulse chain which arrived at Set.


The OnReset output fires an impulse after an impulse is received at Reset. This occurs regardless of whether there is a valid Target or whether any Target was actually written to. This continues the impulse chain which arrived at Reset.

Node Menu

Actions
Back -- ++ Drive Drive Playback Tween Write
Write Latch Write Ref Write Ref Latch