Difference between revisions of "Impulse Demultiplexer (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
(Add info about + - buttons)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
The '''Impulse Demultiplexer''' node fires an impulse from OnTriggered whenever an impulse is received at any Trigger input. It also provides the index of the triggering input for the duration of the OnTriggered impulse chain.
+
<!--T:1-->
 +
{{Infobox Logix Node
 +
| Name = Impulse Demultiplexer
 +
| Image =[[File: ImpulseDemultiplexerNode.png | noframe | 128px | 'Impulse Demultiplexer' LogiX node ]]
 +
| Input0Type = Impulse | Input0Name = Trigger
 +
| Input1Type = Impulse | Input1Name = Trigger
 +
| Output0Type = Impulse | Output0Name = OnTriggered
 +
| Output1Type = Int | Output1Name = Index
 +
}}
  
<!--[[File:|border|256px|right]]-->
+
<!--T:2-->
 +
The '''Impulse Demultiplexer''' node fires an impulse from <code>OnTriggered</code> whenever an impulse is received at any <code>Trigger</code> input. It also indicates which input was triggered via the <code>Index</code> value.
  
== Inputs & Outputs ==
+
== Usage == <!--T:3-->
{| class="wikitable"
+
The <code>Index</code> output value corresponds to the index of the input which was triggered. Neos uses zero-based indexing meaning that the top input being triggered corresponds to <code>Index</code> = 0. This value is only available for the duration of the impulse chain fired from <code>OnTriggered</code>. Default value is 0.
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Trigger
 
| Impulse
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Trigger
 
| Impulse
 
|}
 
  
{| class="wikitable"
 
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Triggered
 
| Impulse
 
|-
 
| style="background-color:{{Int-color}}" |
 
| Index
 
| Integer
 
|}
 
  
== Usage ==
+
<!--T:6-->
NeosVR uses zero indexing, hence if an impulse is received at the topmost Trigger input the output Index will be zero. The number of Trigger inputs can be changed with the + or - buttons.
+
The number of Trigger inputs can be changed with the + or - buttons.
  
== Examples ==
+
== Examples == <!--T:4-->
 +
ProbablePrime has a tutorial featuring this node <youtube>https://www.youtube.com/watch?v=8t-2T-3Jt7A</youtube>
  
== Node Menu ==
+
== Node Menu == <!--T:5-->
 
</translate>
 
</translate>
  
[[Category:LogiX|Impulse Demultiplexer]]
+
[[Category:LogiX{{#translation:}}|Impulse Demultiplexer]]
[[Category:LogiX: Flow|Impulse Demultiplexer]]
+
[[Category:LogiX:Flow{{#translation:}}|Impulse Demultiplexer]]
 
{{:NodeMenu-Flow}}
 
{{:NodeMenu-Flow}}

Latest revision as of 14:26, 19 February 2022

Other languages:
English • ‎日本語
Impulse Demultiplexer
'Impulse Demultiplexer' LogiX node
Inputs
  Impulse Trigger
  Impulse Trigger
Outputs
  Impulse OnTriggered
  Int Index

The Impulse Demultiplexer node fires an impulse from OnTriggered whenever an impulse is received at any Trigger input. It also indicates which input was triggered via the Index value.

Usage

The Index output value corresponds to the index of the input which was triggered. Neos uses zero-based indexing meaning that the top input being triggered corresponds to Index = 0. This value is only available for the duration of the impulse chain fired from OnTriggered. Default value is 0.


The number of Trigger inputs can be changed with the + or - buttons.

Examples

ProbablePrime has a tutorial featuring this node

Node Menu

Flow
Back Events Boolean Latch Delay Delay With Value Dynamic Impulse Receiver Dynamic Impulse Receiver With Value`1
Dynamic Impulse Trigger Dynamic Impulse Trigger With Value`1 Fire On Change Fire On False Fire On True Fire While True For
If Impulse Demultiplexer Impulse Multiplexer Local Fire On Change`1 Local Fire On False Local Fire On True Local Impulse Timeout
Local Leaky Impulse Bucket One Per Frame Pulse Random Sequence Timer Update Updates Delay
Updates Delay With Value While