Difference between revisions of "Timer (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m (Zyzyl moved page LogiX: Timer to Timer (LogiX node): Changing name to match standard form)
Line 1: Line 1:
<noinclude>[[Category:LogiX|Timer]]
+
<languages></languages>
[[Category:LogiX: Flow|Timer]]
+
<translate>
</noinclude>
+
The '''Timer''' node fires impulses from Pulse separated by the number of seconds specified by the Interval input.
 +
 
 +
<!--[[File:|border|256px|right]]-->
  
{|class=wikitable
+
== Inputs & Outputs ==
| Inputs
+
{| class="wikitable"
| style="width: 100px;" |
+
|+Inputs
| Outputs
+
|-
 +
| Color
 +
| Label
 +
| Type
 +
|-
 +
| style="background-color:{{Float-color}}" |
 +
| Interval
 +
| Float
 
|-
 
|-
| style="background-color:#3effff" | Float: Interval
+
| style="background-color:{{User-color}}" |
|  
+
| UpdatingUser
| style="background-color:#ffffff" |  
+
| User
 +
|}
 +
 
 +
{| class="wikitable"
 +
|+Outputs
 
|-
 
|-
| style="background-color:#ffffff" |
+
| Color
|  
+
| Label
| style="background-color:#ffffff" | Impuse: Pulse
+
| Type
 
|-
 
|-
| style="background-color:#87798d;color:white" | User: UpdatingUser
+
| style="background-color:{{Impulse-color}}" |
|  
+
| Pulse
| style="background-color:#ffffff" |
+
| Impulse
 
|}
 
|}
  
* Inputs
+
== Usage ==
** Interval     - How often to fire a pulse in seconds
+
Impulses are fired locally for the user provided to UpdatingUser. The Interval value may be changed between successive impulses from Pulse. If the Interval is increased the next impulse will occur that many seconds after the previous output impulse - e.g. if an impulse is fired from Pulse while the Interval is 10 and then the Interval is changed to 60, the next impulse will fire 60 seconds after the previous one. Conversely, if the Interval value is decreased, the node will only wait until a number of seconds equal to the new value have passed; this means that if the new value is less than the number of seconds since the last output impulse another impulse is fired immediately.
** UpdatingUser - Which user should be the source of impulses
+
 
* Outputs
+
== Examples ==
** Pulse        - Pulse which fires each interval
 
  
==Description==  
+
== Node Menu ==
Timer is used to create a repeating source of impulses. The output fires once every x seconds, where x is defined by the Float input.
+
</translate>
  
<hr>{{:NodeMenu-Flow}}<hr>
+
[[Category:LogiX|Timer]]
 +
[[Category:LogiX: Flow|Timer]]
 +
{{:NodeMenu-Flow}}

Revision as of 18:53, 13 July 2020

Other languages:
English • ‎日本語

The Timer node fires impulses from Pulse separated by the number of seconds specified by the Interval input.


Inputs & Outputs

Inputs
Color Label Type
Interval Float
UpdatingUser User
Outputs
Color Label Type
Pulse Impulse

Usage

Impulses are fired locally for the user provided to UpdatingUser. The Interval value may be changed between successive impulses from Pulse. If the Interval is increased the next impulse will occur that many seconds after the previous output impulse - e.g. if an impulse is fired from Pulse while the Interval is 10 and then the Interval is changed to 60, the next impulse will fire 60 seconds after the previous one. Conversely, if the Interval value is decreased, the node will only wait until a number of seconds equal to the new value have passed; this means that if the new value is less than the number of seconds since the last output impulse another impulse is fired immediately.

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