建立含有LabVIWE Classes應用程式因切斷Typedef連結而產生問題。
主要軟體:
主要軟體版本: 8.2
主要軟體修正版本:
次要軟體: N/A
問題: 當建立有用到LabVIEW物件導向程式設計(LabVIEW Classes)的應用程式時,我得到下列錯誤訊息:
The build was unsuccessful. Possible reasons. An error occurred while building the following file:
[File Path]
The VI became broken after disconnecting type definitions. Open the Build Specification and choose a different option on the Additional Exclusions page.
為什麼會發生這種情形?如何才能成功的建立?
解答: 如果應用程式包含一個LabVIEW Class,其中的private data在Cluster控制元中使用到typedef,在建立LabVIEW 8.2執行檔時,你將會得到這個錯誤訊息。當LabVIEW嘗試切斷這個typedef的連結時,損壞了這個class,於是就產生了以上的錯誤訊息。在Build Specification Application Properties對話窗,選擇Additional Exclusions頁面並選擇
Do not disconnect type definitions or remove unreferenced members。你的應用程式應該就可以正確的被建立了。
相關連結:
附加檔案:
報告日期: 06/26/2006
最後更新: 03/22/2007
文件偏號: 3YMA5P00
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.