當建立LabVIEW的執行檔時,Error 7會發生在Invoke Node。



主要軟體: LabVIEW Development Systems>>Full Development System
主要軟體版本: 5.1
主要軟體修正版本: N/A
次要軟體: N/A

問題: 我嘗試要在LabVIEW 中建立一個執行檔,原始的VI程式在前一個LabVIEW 版本中建立的。例如,我的VI是從LabVIEW 5.0.x 所建立的,而我想在LabVIEW 5.1建立執行檔。當我做此動作時,得到下面錯誤:
"Error 7 Occurred at Invoke Node in Dist Cmp Settings to Disk Hier > Build Application.vi"

為何會發生這錯誤呢?

解答: 這錯誤發生是在預期中的。Application Builder 會從此VI中讀取一些資訊使得能夠完整地建立此執行檔。而此兩個版本的LabVIEW有一些明顯的差異,所以建立過程中可能會出現上面提到的錯誤。
為了避免這個錯誤,在建立執行檔的過程中,確定VI程式是在同一個LabVIEW版本中建立。你可以在建立執行檔前,先利用Mass Compile 功能(LabVIEW 5.x or6.x and later )將你的VI轉換成最近版本的LabVIEW檔案。Mass Compile功能將允許你選擇一個目錄或LabVIEW .llb 檔案來做編譯的動作。

相關連結: KnowledgeBase 1M9HUJU6: Getting Error 7 While Creating a LabVIEW 5.1 Executable
KnowledgeBase 1KF921J6: Cannot Build Application on UNIX, if It Uses VIs with Forward Slashes in Their Names
KnowledgeBase 214A2JPH: How Do I Mass Compile VIs, LLBs, or Folders in LabVIEW?

附加檔案:





報告日期: 03/31/1999
最後更新: 01/05/2005
文件偏號: 1JUD26U0