Counter Block
The Counter block maintains a running counter of every iteration the input value was True (non-zero). It can be reset using its second inport.
Examples
Counts the number of times a randomly generated number is greater than 1, and resets when the counter exceeds 10 |