我要怎麼用Visual Basic來監控我的GPIB卡上SRQ線的訊號?
硬體: GPIB>>Plug-in Controllers>>PCI-GPIB
問題: 我用Visual Basic,透過GPIB卡來和儀器溝通。我希望我的Visual Basic程式可以對SRQ線有所回應,可是我找不到要用那個函式。
解答: Visual Basic中的TestSRQ函式會回傳現在SRQ線的目前狀態。而若要等儀器在SRQ線傳送訊號,則要用WaitSRQ來達成。要用什麼函式,可以參考NI-488.2 Function Reference手冊,它的連結如下。
相關連結: NI-488.2M Function Reference Manual for Win32
附加檔案:
報告日期: 10/29/2002
最後更新: 08/16/2007
文件偏號: 2QSC95A2
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.