Files
noodl-docs/nodes/math/counter.md
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

3.5 KiB

hide_title, hide_table_of_contents, title
hide_title hide_table_of_contents title
true true Counter

<##head##>

Counter

This node holds a number that can be increased or decreased with signals.

The Counter node can be limited to a min and a max value, and the limit can be turned on and off.

<##head##>

Inputs

Signal Description
Increase Count <##input:increase##>Triggering this action will increases the count by one.<##input##>
Decrease Count <##input:decrease##>Triggering this action will decrease the count by one.<##input##>
Reset To Start <##input:reset##>Triggering this action will reset the counter to its Start Value.<##input##>
Start Value <##input:startValue##>The start value of the count. Defaults to zero.<##input##>
Data Description
Min Value <##input:limitsMin##>The minimum value of the counter. The counter will never decrease below this value. Note that Limits Enabled need to be set to true for this to be in effect.<##input##>
Max Value <##input:limitsMax##>The maximum value of the counter. The counter will never increase above this value. Note that Limits Enabled need to be set to true for this to be in effect.<##input##>
Limits Enabled <##input:limitsEnabled##>This input controls if the limits (Min Value and Max Value) are active or disabled.<##input##>

Outputs

Data Description
Current Count <##output:currentCount##>This output contains the current count.<##output##>
Signal Description
Count Changed <##output:countChanged##>This signal will be triggered whenever the Current Count changes.<##output##>