Chapter 8
AutoCode Sim Cdelay Scheduler
State Transition Diagrams of Tasks under Sim Cdelay
AutoCode Reference
triggers arriving too quickly can prevent a task from ever posting any
output.
You must build an alternative AutoCode scheduler incorporating the new
pipeline stages presented above, and change the transition diagrams of
many of the task types to reflect changed output posting, enable, and
retriggering policies. In the case of the enable and retriggering policies,
however, you will want to include switches that let you fall back to the
original AutoCode behavior for these options because the Sim choices have
the previously mentioned drawbacks.
New transition diagrams were developed for free-running and enabled
periodic tasks, and for ATR triggered tasks. Figure 8-5 shows a new STD
for free-running periodic tasks. Figure 8-6 shows a new STD for ATR
triggered tasks. Figure 8-7 shows a new STD for ATR triggered tasks.
Timer greater
than zero,
decrement it
IDLE
Countdown
timer is zero,
reset it and
post outputs
Figure 8-5. New STD for Free-Running Periodic Tasks
Timer has reached
zero, signal overflow
task
done
RUNNING
8-10
BLOCKED
Reset output
countdown timer
ni.com
Need help?
Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?
Questions and answers