TargetExecutionMode Enumeration
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Specifies the execution mode for the loops of the VeriStand Engine.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Member name | Description |
|---|---|
| LowLatency | Executes all the loops of the VeriStand Engine in parallel, but writes values to, executes, and reads values from the Model Execution Loop(s) at every iteration of the system, including the first. National Instruments recommends you select this mode only if you need to minimize your CPU usage because waiting for the Model Execution Loop(s) to read, execute, and write on each iteration can significantly slow the execution speed of the system. |
| Parallel | Executes all the loops of the VeriStand Engine in parallel. In this mode, the system does not write values to or execute the Model Execution Loop(s) on the first iteration of the system, but it does read values from the loop(s). This causes a one-cycle delay on executing your model, but increases the execution speed of the entire system. |