为什么我在打开VI Reference时提示我出错,代码为1
主要软件:
主要软件版本: 7.1
主要软件修正版本: N/A
次要软件: N/A
问题: 我创建了一个VI,该VI调用了Current VI's Path 这个VI,我将该
vi path作为输入传递给 Open VI Reference这个VI,为什么我在运行时,提示我:
打开VI Reference 时出错,代码为1 ?
解答: 如果未经保存运行该VI,就会出现这个错误。

Current vi's path 返回当前VI的路径。如果该VI从未保存过,那么Current vi's path 就没有有效的返回值。如果你使用了Current VI's Path这个VI,那么在运行前请务必要保存一下。如果运行的VI未经保存,在前面板和程序框图的最上面会显示Untitled X,X是最后一次重启LabVIEWVI时打开过的VI的个数。
相关链接: KnowledgeBase 3S8SSU: What Is the VI Server?
附件:
报告日期: 07/25/2004
最近更新: 08/31/2008
文档编号: 3BOD21PS
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.