在动态调用VI时,经常发生在开发环境下能正常调用VI,一旦打包成执行文件后,调用就出现了异常,原因是打包后LabVIEW会把exe文件看作是一层目录,这样按以前相对路径关系就找不到被调用VI了,所以出现了异常。
我原来都是用“应用程序路径”,后面改成用“当前vi路径”就可以了。
https://blog.csdn.net/mysolisoft/article/details/82664521