ModelCommand Class
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Represents a Model Command channel, which you can use to send commands to the model running on the target.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Remarks
You can send the following commands to a model at run-time:
| Value | Command |
|---|---|
| 0 | Start |
| 1 | Pause |
| 2 | Reset to the initial model state |
| 3 | Save the model state to a file |
| 4 | Restore the model state from a file |
Accessing this Class
Inheritance Hierarchy
System.Object
NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
NationalInstruments.VeriStand.SystemDefinitionAPI.Channel
NationalInstruments.VeriStand.SystemDefinitionAPI.ModelCommand
NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
NationalInstruments.VeriStand.SystemDefinitionAPI.Channel
NationalInstruments.VeriStand.SystemDefinitionAPI.ModelCommand
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.