Home
Support
为什么我在Teststand中运行一个动态部署的VI时,会收到错误Error -18002 ?
为什么我在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
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.