beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

TriggerCounter Op



TriggerCounter
Namespace: Ops.Trigger

Op author: pandur

Counts how often the port was triggered


Useful for e.g. for debugging when you need to know how often Execute has been triggered, or if it was triggered at all.



Inputs

exe (Trigger)

Every time Execute is triggered, the output port Times Triggered will increment.

reset (Trigger)

Resets the counter

Outputs

trigger (Trigger)

Triggers every time Execute is triggered

timesTriggered (Number)

The number of times the input port Execute has been triggered

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Click Counter

Left click to increase counter, right click to reset

Counts the clicks using the TriggerCounter-op.
A simple modulo op loops the counter.


Changelog


add current count in extended title
2022-02-03 - stephan

Patches using TriggerCounter

  • Examples
  • My Patches
  • Public