LabVIEW 2021 找不到 Parent Interface 時 Interface Crash 問題

更新 Jan 16, 2024

產品資訊

軟體

  • LabVIEW 2021

問題敘述

我在 2021版LabVIEW 中使用 LabVIEW 的 Interface。
當在硬碟上找不到該 Interface 或該 Interface 被刪除時,我無法不在 LabVIEW crash的情況下刪除父介面。
請問我該如何替換這個Parent Interface呢?

解決方案

這是 LabVIEW 2021 版本中的一個已知問題。
要解決此問題,請將缺少的 Interface 替換為有效的 Interface  並儲存 Class,接著您就可以刪除新的 Parent Interface 。
或者,直接在文字編輯器中編輯 .lvclass 檔案以刪除 XML 描述中的 Parent Interface 項目。