解决方案
一种解决方法是修改SDF文件中的实时序列命令通道定义,并更新数值表条目。
原始数值表:
<Channel Name="Real-Time Sequence Command">
<Description>Internally commands the active real-time sequences with the following numeric values:
0: None
1: Stop All
2: Abort All</Description>
<Property Name="Value Table">
<Dictionary>
<Elem Key="None">
<Double>0</Double>
</Elem>
<Elem Key="Stop All">
<Double>1</Double>
</Elem>
<Elem Key="Abort All">
<Double>2</Double>
</Elem>
</Dictionary>
</Property>
更新后的数值表:
<Channel Name="Real-Time Sequence Command">
<Description>Internally commands the active real-time sequences with the following numeric values:
0: None
1: Stop All
2: Abort All</Description>
<Property Name="Value Table">
<Dictionary>
<Elem Key="None">
<Double>0</Double>
</Elem>
<Elem Key="Stop All">
<Double>268435456</Double>
</Elem>
<Elem Key="Abort All">
<Double>536870912</Double>
</Elem>
</Dictionary>
</Property>
更新SDF文件后:
- 保存修改后的System Definition文件。
- 重新部署VeriStand系统。
- 再次执行“全部停止”或“全部中止”命令。
实时序列命令通道现在应该能够按预期成功停止或中止运行的实时序列。