使用TestStand API自动禁用断点
主要软件: LabVIEW Toolkits>>Test Executive
主要软件版本: 4.0
主要软件修正版本: N/A
次要软件: N/A
问题: 在TestStand中怎样编程实现断点的修改?
解答: 你可以在test station中使用TestStand API函数来启用或者禁用断点。你可以在sequence中使用ActiveX/COM 或者 Statement step。
如果是ActiveX/COM step,使用以下配置:

如果使用Statement step,可以再expression box中输入:RunState.Engine.StationOptions.BreakpointsEnabled。这个表达式可以根据断点的启用或者禁用设置为真或者假。这种方法中,断点并不会被删除,但是TestStand会识别表达式并把断点标志清除。
相关链接: NI TestStand Help: BreakpointsEnabled PropertyNI TestStand Help: Breakpoints Settings Dialog Box
附件:
报告日期: 06/20/2012
最近更新: 07/11/2012
文档编号: 5YJ9JI2G
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.