220 Part I: Task Manager © Tait Electronics Limited December 2007
Defining Counters, Timers, and Flags
Counters, timers, and flags make it possible for Task Manager to do such things
as respond to three presses of PTT or to email a status message once a week.
Note: Short timers may not be accurate. This is because it may take
Task Manager longer than 10 ms to process its tasks, causing it to
miss the next instruction to go through its task list. Tait recommends
that you avoid short timers (< 50 ms) if the task list has more than 10 enabled
tasks.
To define a counter
1. Select Configure > Task Manager > Counters.
2. If desired, enter a suitable name for the counter into the Name box.
3. In the Maximum box, enter the highest number that the counter can
reach.
When the counter reaches its maximum, the input Counter at maximum
becomes true for that counter and any tasks containing it are processed.
To define a timer
1. Select Configure > Task Manager > Timers.
2. If desired, enter a suitable name for the timer into the Name box.
3. In the Maximum box, enter the highest number that the timer can reach.
4. In the Units box, specify what unit of time the number you entered
represents.
When the timer reaches its maximum, the input Timer expired becomes
true for that timer and any tasks containing it are processed.
To define a flag
1. Select Configure > Task Manager > Flags.
2. If desired, enter a suitable name for the flag into the Name box.
3. Click OK.