Counter

Counter

Increases a counter and produces a reset signal every time the counter reaches a user-defined maximum value. This tool can be used as a general-purpose counter in many applications. One of the typical use cases is to pick every Nth input object by connecting the reset output to the enabled input of a Gate.

Inputs

trigger
Any object.
min
The minimum value for the counter.
max
The maximum value for the counter.

Outputs

count
The current counter value. If the count exceeds max, it will be reset to min.
reset
Either true or false depending on whether the counter was reset or not.