使用Report Generation Toolkit打开VI引用时出现错误7
硬件: PXI/CompactPCI>>Controllers
问题: 当VI调用Report Generation Toolkit 的VI时,为何得到对话框,上面写着:
Error 7 Occurred at Open VI Reference
解答: Report Generation Toolkit VIs通过引用调用其他VI。为了创建路径来打开VI引用,工具包里的VI假设它们在初始的安装路径下: C:\Program Files\National Instruments\LabVIEW
如果主VI和所有子VI通过Save With Options...保存为.llb,Report Generation Toolkit VI将被移动至这个新的.llb文件,新的通过引用调用的VI将无法被发现。
修正这个错误最好的方法是强制LabVIEW在初始位置寻找Report Generation Toolkit VI。这可以通过第一次退出LabVIEW并且删除、重命名所有被移动至新位置的Report Generation Toolkit VI。当Top VI被重新打开后,LabVIEW会搜索找不到的VI并且在 C:\Program Files\NationalInstruments\LabVIEW文件夹下找到它们。
相关链接: KnowledgeBase 3G5CDDV1: Error 7 When Running an .EXE Using VIs from Report Generation Toolkit for MS OfficeLabVIEW Help: Call By Reference Node
附件:
报告日期: 02/14/2005
最近更新: 03/29/2009
文档编号: 3IDG43T0
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.