From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在執行有動態載入VIs的執行檔時產生ERROR 7



主要軟體: LabVIEW Development Systems>>LabVIEW Full Development System
主要軟體版本: 7.1
主要軟體修正版本: N/A
次要軟體: LabVIEW Toolkits>>LabVIEW Application Builder, LabVIEW Development Systems>>LabVIEW Professional Development System, LabVIEW Development Systems>>LabVIEW Base Package

問題: 我的程式在LV中跑都很正常且建執行檔過程也正確,但執行檔卻不能跑,並且出現 Error 7 。 是甚麼問題?

解答:

如果你的執行檔有動態載入 VIsLabview 不會自動連結到這些 VIs 。以下提供最簡易加入動態呼叫 VIs 的步驟。更多的細節可以參考知識庫 268B8SXQ 。然而,你也還有其他可以選擇的方式,請參考本頁下方知識庫 50A980BQ 的連結。

Labview 7.X

當你執行執行檔建立工具時,使用 Add Dynamic VI 按鈕加入這些 VIs

Labview 8.X
將這些VIs加入你在你專案中的 My computer 下。在 Build Specification 內選擇 Source files 類別,並將這些檔案加在 Always Included 欄位。



相關連結: 4456665Application Builder Troubleshooting Wizard
KnowledgeBase 22H8MDUZ: Error 1 or 15 Opening Dynamic VI from LabVIEW Application
KnowledgeBase 2QKDG7DW: Differences Between Reentrant VIs, VI Templates, and Dynamic VIs
KnowledgeBase 28IAHMDM: Common VI Server Errors
KnowledgeBase 50A980BQ: How Can I Call a VI Dynamically From an Exectuable Without Including those VI's in the Build?
KnowledgeBase 268B8SXQ : Error 1003 When Using VI Server in a LabVIEW Application

附加檔案:





報告日期: 08/03/2001
最後更新: 01/08/2013
文件偏號: 2C27CLXL