Name
TimerElapsed -- check if timer has elapsed (V9.0)
Synopsis
elapsed = TimerElapsed(id[, reset])
Function
This function checks if the timer specified by id has elapsed and returns True if it has, False otherwise. By default, the timer will be reset to 0 when it has elapsed. If you don't want that, pass False in the reset argument.

The threshold when a timer elapses can be set either when creating a timer using StartTimer() or later using SetTimerElapse().

Inputs
id
identifier of the timer to examine
reset
optional: True if the elapsed timers should be reset to 0, False otherwise (defaults to True)
Results
elapse
True if the timer has elapsed, False otherwise
Example
StartTimer(1, 10000)
Repeat
   VWait
Until TimerElapsed(1) = True

Show TOC