Approximate
Elapsed Time
(Seconds)
Action
1.6 Finish the first callback execution, and start the second. This action
clears the execution queue.
2 Attempt to start the third callback execution. The second execution is
not complete, but the queue is empty. The timer adds the callback to
the queue.
3 Attempt to start the fourth callback execution. The third callback is in
the execution queue. The timer does not execute the third callback,
but instead calls the error handling function.
3.2 Finish the second callback and start the error handling function.
Queue Mode
If you specify 'queue', the timer object waits until the currently executing callback
function finishes before queuing the next execution of the timer callback function.
In 'queue' mode, the timer object tries to make the average time between executions
equal the amount of time specified in the Period property. If the timer object has to wait
longer than the time specified in the Period property between executions of the timer
function callback, it shortens the time period for subsequent executions to make up the
time.
See Also
timer
More About
- “Timer Callback Functions” on page 27-5
See Also