我如何將 TestStand 的值傳到 LabVIEW 的叢集〈 Cluster〉中? 主要軟體: TestStand主要軟體版本: 4.0 主要軟體修正版本: 次要軟體: N/A
問題: 我的 LabVIEW code 有一個 Cluster 而我想將值從 TestStand 傳遞進去。當我設定了參數並且傳送到我的 LabVIEW module 時發生了下述的錯誤訊息:-17311; Could not accept the parameters passed in 為什麼會這樣?那麼我要如何傳送資料到 LabVIEW 的 cluster?
解答: 要將參數傳到 LabVIEW,要先在資料格式〈Data Type property〉 對話框的 Cluster Passing 分頁中啟動 cluster passing 的選項。 由於我們只能透過自訂資料格式〈custom data type〉才能更動 data type 的 property,我們必須先建立一個 custom data type 才能傳送物件〈object〉到 LabVIEW 的 cluster 中。 以下的範例說展示了建立 custom data type 最快的方式,並且利用這個 data type 傳送參數到 LabVIEW 模組〈module〉中。
相關連結: 附加檔案:
報告日期: 10/17/2007 最後更新: 11/08/2007 文件偏號: 4EGISTA0 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
