From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



为什么我在Teststand中运行一个动态部署的VI时,会收到错误Error -18002 ?



主要软件: TestStand
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A

问题:

当我尝试在Teststand中运行一个动态部署的VI时,会收到错误Error -18002 如下:

LabVIEW: You attempted to invoke a dynamic dispatch VI statically.  The object you supplied for the dynamic dispatch terminal has an override VI for the chosen method that is not the same as the VI you specified.  LabVIEW does not allow callers to directly invoke ancestor versions of the object's method.




解答: 这个错误是由于动态部署VI不正确的类型调用导致的。要想解决这个问题,在Call Type 下拉列表中选择Class Member Call 。选择 Class Member Call命令会将LabVIEW设置为按需要动态调度。注意,您必须使用LabVIEW 2012或者更高的版本来使用LabVIEW的动态调度。

相关链接: KnowledgeBase 4GPCI4T3: TestStand Deployment Fails when Deploying Dynamic Dispatch VI
KnowledgeBase 4VODFC2I: How Can I Update All the VI Calls in a TestStand Sequence?

附件:





报告日期: 01/02/2014
最近更新: 02/25/2014
文档编号: 6H1D3OCN