Table Of Contents

Model Command

Last Modified: June 15, 2020

Use the Model Command channel to change the model execution state at run time.

If you configured your model to be initially paused, you can use this channel to start it. If your model gets into a desirable state for testing purposes, you can pause the model, save that state to a file, and then restore the state later.

Refer to the following table to determine what values VeriStand associates with each status.
Value Status
0 Start the model.
spd-note-note
Note  

If the model is paused, it starts from the current state.

1 Pause the model.
2 Reset the model.
3 Prompt to save the model state to file after setting the model to idle.
spd-note-note
Note  

The model must be running or paused when you set this command. Otherwise, VeriStand ignores the command.

4 Prompt to restore the model state from file after setting the model to idle.
spd-note-note
Note  

The model must be running or paused when you set this command. Otherwise, VeriStand ignores the command.


Recently Viewed Topics