Difference between revisions of "Timer (LogiX node)"
Line 15: | Line 15: | ||
| style="background-color:{{Float-color}}" | | | style="background-color:{{Float-color}}" | | ||
| Interval | | Interval | ||
− | | Float | + | | [[:Category:Types:Float|Float]] |
|- | |- | ||
| style="background-color:{{User-color}}" | | | style="background-color:{{User-color}}" | | ||
| UpdatingUser | | UpdatingUser | ||
− | | User | + | | [[:Category:Types:User|User]] |
|} | |} | ||
Line 31: | Line 31: | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| Pulse | | Pulse | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|} | |} | ||
Revision as of 00:39, 5 September 2020
The Timer node fires impulses from Pulse separated by the number of seconds specified by the Interval input.
Inputs & Outputs
Color | Label | Type |
Interval | Float | |
UpdatingUser | User |
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.