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

TriggerCounter Op

Ops.Trigger.TriggerCounter


TriggerCounter
Namespace: Ops.Trigger

Op author: pandur

Counts how often the port was triggered


summary (oneliner)

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



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

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.

Open Example In Editor


Patches using TriggerCounter

Changelog


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