Programming Editor Only
This directive specifies which task to follow during simulation when using parallel multi-tasking M2 parts. If no task is specified task 0 will be automatically traced.
Multiple tasks can be traced at the same time by using ‘#simtask all’.
Simulating a single task
Using '#simtask 1'; when the simulation runs it will show only the commands executed for task1, those commands from the 'start1' label. The commands from the 'start0' label will not be shown but will still be simulated.
Submit Your Own Code!
You must be logged in to submit code examples. Login now.