要如何在LabVIEW與TestStand之間傳遞I/O參數?
主要軟體:
主要軟體版本: 3.5
主要軟體修正版本: N/A
次要軟體: LabVIEW Development Systems>>LabVIEW Base Development System
問題: 我想要在TestStand中把I/O的control或是indicator傳遞到多個VI去,應該要怎麼使用?
解答: 這種傳遞格式在TestStand中被稱做LabVIEWIOControl,且該格式適用於所有的I/O類別。I/O類別無論在VISA,IVI,FieldPoint,Motion,DAQmx Task Name,DAQmx Channel Name都有包含resouce name或session id。也因此必須至少有device name或是session number才能順利運作。其中,Session number會是非零數,且可以被用於其他開發環境,如LabWindows/CVI。
加入這個variable的方法如下,到Local Tab,右鍵並選擇Insert Local>>Types>>LabVIEW>>LabVIEWIOControl
(如果要使用Parameter只要在前面選擇對應Tab即可)
相關連結: KnowledgeBase 384B7IR9: How Can I Programmatically Load a VISA Resource Name Into a VISA Resource Name Control in LabVIEW 7.X KnowledgeBase 2CIEK8G4: Can I Share Open VISA Sessions in LabVIEW with External Code?
附加檔案:
報告日期: 09/14/2006
最後更新: 05/08/2015
文件偏號: 41DIQE9K
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.