In which stage does the task body () run within the run phase? I know the run phase comprises: reset, configure, main, and shutdown. Where does the task body() run with respect to these phases?
In reply to samerh:
The body() task is only used in sequences. The task runs when the sequence is started.
In reply to cgales:
does this mean it starts when the simulation time starts advancing along with the start of the reset phase? in other words, it starts whenever the run_phase starts?
In reply to samerh:
No. The sequence starts when you call the start() method of the sequnce. You can call the start() method during any time-consuming phase.
Refer to the sequence API for more information.