Difference between revisions of "Local Impulse Timeout (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m (Zyzyl moved page Impulse Timeout (LogiX node) to Local Impulse Timeout (LogiX node): Reflect name change in build 2021.3.30.508)
(Update to new node style & update category)
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
The '''Impulse Timeout''' node fires an impulse from Pulse when it receives an impulse at Trigger. No further impulses are fired from Pulse, however many may arrive at Trigger, until either an impulse is received at Reset or the number of seconds since the previous Pulse is greater than TimeoutSeconds.
+
<!--T:1-->
 +
{{Infobox Logix Node
 +
| Name = Local Impulse Timeout
 +
| Image =[[File: LocalImpulseTimeoutNode.png | noframe | 128px | 'Local Impulse Timeout' LogiX node ]]
 +
| Input0Type = Impulse | Input0Name = Trigger
 +
| Input1Type = Impulse | Input1Name = Reset
 +
| Input2Type = Float | Input2Name = TimeoutSeconds
 +
| Output0Type = Impulse | Output0Name = Pulse
 +
}}
  
<!--[[File:|border|256px|right]]-->
+
<!--T:2-->
 +
The '''Local Impulse Timeout''' node can be used to filter the rate of impulses passing along an impulse chain.
  
== Inputs & Outputs ==
+
== Usage == <!--T:3-->
{| class="wikitable"
+
When an impulse is first received at <code>Trigger</code>, an impulse is fired from <code>Pulse</code> which continues the impulse chain. No further impulses will be fired from <code>Pulse</code>, no matter how many arrive at <code>Trigger</code>. Until either an impulse is received at <code>Reset</code> or a number of seconds has elapsed greater than or equal to <code>TimeoutSeconds</code>. The duration to wait is fixed at the moment that an impulse is fired from <code>Pulse</code>. As such, if the <code>TimeoutSeconds</code> value is changed after the timeout begins, no further impulses will fire from <code>Pulse</code> until enough seconds have elapsed greater than or equal to the previous value of <code>TimeoutSeconds</code> (or an impulse is received at <code>Reset</code>).
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Trigger
 
| [[:LogiX:Impulses|Impulse]]
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Reset
 
| [[:LogiX:Impulses|Impulse]]
 
|-
 
| style="background-color:{{Float-color}}" |
 
| TimeoutSeconds
 
| [[:Category:Types:Float|Float]]
 
|}
 
  
{| class="wikitable"
+
As the node name implies, timeouts and resets are local for each user. Meaning one user may fire an impulse from <code>Pulse</code> and initate a timeout for any impulses owned by them, but another user would be capable of triggering an impulse from <code>Pulse</code> and initating their own timeout immediately afterwards.
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Pulse
 
| [[:LogiX:Impulses|Impulse]]
 
|}
 
  
== Usage ==
+
== Examples == <!--T:4-->
  
== Examples ==
+
== Node Menu == <!--T:5-->
 
 
== Node Menu ==
 
 
</translate>
 
</translate>
  
[[Category:LogiX|Impulse Timeout]]
+
[[Category:LogiX{{#translation:}}|Local Impulse Timeout]]
[[Category:LogiX: Flow|Impulse Timeout]]
+
[[Category:LogiX:Flow{{#translation:}}|Local Impulse Timeout]]
{{:NodeMenu-Flow}}
+
{{:NodeMenu-Flow{{#translation:}}}}

Revision as of 14:10, 10 July 2021

Other languages:
English • ‎日本語
Local Impulse Timeout
'Local Impulse Timeout' LogiX node
Inputs
  Impulse Trigger
  Impulse Reset
  Float TimeoutSeconds
Outputs
  Impulse Pulse

The Local Impulse Timeout node can be used to filter the rate of impulses passing along an impulse chain.

Usage

When an impulse is first received at Trigger, an impulse is fired from Pulse which continues the impulse chain. No further impulses will be fired from Pulse, no matter how many arrive at Trigger. Until either an impulse is received at Reset or a number of seconds has elapsed greater than or equal to TimeoutSeconds. The duration to wait is fixed at the moment that an impulse is fired from Pulse. As such, if the TimeoutSeconds value is changed after the timeout begins, no further impulses will fire from Pulse until enough seconds have elapsed greater than or equal to the previous value of TimeoutSeconds (or an impulse is received at Reset).

As the node name implies, timeouts and resets are local for each user. Meaning one user may fire an impulse from Pulse and initate a timeout for any impulses owned by them, but another user would be capable of triggering an impulse from Pulse and initating their own timeout immediately afterwards.

Examples

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