Chapter 8
AutoCode Sim Cdelay Scheduler
©
National Instruments Corporation
8-11
Figure 8-6.
New STD for ATR Triggered Tasks
Figure 8-7.
New STD for ATR Triggered Tasks
IDLE
RUNNING
BLOCKED
task
done
Timer is zero and
enable, reset timer
and post outputs
Timer is zero and
!enable, reset
timer and post
outputs
Timer greater
than zero,
decrement it
Timer has reached
zero, signal overflow
Timer greater
than zero,
decrement it
Timer is zero and
!enable, reset timer
Timer is zero and
enable, reset timer
IDLE
RUNNING
BLOCKED
task
done
Timer greater
than zero and
!trigger, decrement
timer
Timer is zero and
!trigger, post
outputs
Timer is zero and
trigger, reset timer
and post outputs
Timer greater than
zero and trigger,
reset timer
Trigger,
reset timer
Timer is zero
or trigger,
signal overflow