TestStand 调用LabVIEW模块时出现错误代码 1 或 97
主要软件: TestStand
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A
问题: 当在TestStand中运行一个调用了LabVIEW VI的步骤时,视乎不同的LabVIEW版本,可能出现以下两种错误:
LabVIEW 5.x 中的错误信息:
An error occurred in the 'Action' step of the 'MainSequence' sequence in 'Sequence File1.seq'.Incorrect function. in TestStand - Get Property Value (String).vi->hello1.vi->hello1.vi.ProxyCallerUser-defined error code. Error Code: 1
LabVIEW 6.x 中的错误信息:
An error occurred in the 'Action' step of the 'MainSequence' sequence in 'Sequence File1.seq'.Unknown System Error in TestStand - Get Property Value (String).vi->hello.vi->hello.vi.ProxyCallerUser-defined error code. Error Code: 97
这是什么原因?
解答: 出现这种错误的原因在于LabVIEW试图读取TestStand Sequence Context,而调用此VI的步却没有设置传递Sequence Context。因此,该VI无法正确获取其所需的Sequence Context。解决这一问题的方法是:鼠标右击调用了VI的该步,从弹出菜单中选择“Specify Module”,然后勾上“Sequence Context ActiveX Pointer”的选择框。
相关链接:
附件:
报告日期: 02/09/2001
最近更新: 06/25/2003
文档编号: 268A5NBD
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.