Timer Stop
- About Timer Stop
- Reference Manual Entry
The Timer Stop Action allows you to end a Timer early, canceling/aborting a running timer.
This will result in the Timer Event and its Action chain never running.
The Timer Stop is mostly useful for turning off cyclical timers like clocks for sequencers, as these type of timers would run infinitely
Stops the Timer on Element number 10
A Cyclical timer
A cyclical timer is what we call such a Timer Event that is countinuously retriggered by its own Action chain.
timer_stop | gtp
How:
timer_stop(element_index[element_number])
- element_index[element_number]: integer, ranging 0...15 or 0...11 if using PBF4 or 0...7 if using EF44
- if you call
-1
for the timer it will stop the system timer
- if you call
- element_index[element_number]: integer, ranging 0...15 or 0...11 if using PBF4 or 0...7 if using EF44
What: When this function is called, the timer function (if there is one running) will stop immediately.
Example: This function is useful as a break kind of function. Meaning you can immediately end a timer running when a certain condition is met like: