學術專區 關於NI NI活動訊息 NI Developer Zone 技術支援服務 使用者解決方案 產品與服務 連絡NI MyNI
This Document is not yet Rated  Rate this Document

Scan For Instruments (in MAX) 可以找到相連於同一 GPIB 匯流排的另一張 GPIB 卡嗎?

硬體: GPIB>>Plug-in Controllers>>PCI-GPIB

問題: 我有兩張 GPIB 卡相連於同一 GPIB 匯流排, 如果我用 Measurement & Automation Explorer (MAX) 的 Scan For Instruments, 另一張 GPIB 卡會顯示為儀器嗎?


解答: Scan for Instruments 可以找到另一張 GPIB 卡若其在線上. 假設你用 卡1 來找其他儀器, 而 卡2 期望被視為儀器. 完成下列步驟來執行 Scan For Instruments.
  1. 確定這兩張卡是設定為不同的 GPIB 位址. 在 MAX 中右擊該卡並於快顯功能表內選擇 Properties. 在 properties 中檢查並修改(若有必要)每張卡的主要及次要位址

  2. 將 卡2 連上線. 要達成此目的, 於 IBIC 中用 ibfind 來獲得 device descriptor (例如, ibfind gpib0).

  3. 執行 Scan for Instruments 於 卡1.
注意:一旦你開始於兩張卡間通訊, 確認 卡1 是 System Controller 而 卡2 不是 System Controller.

若 卡2 是離線的, 則 MAX 無法偵測到它, 這就相當於一台儀器是關機的情況. 若它是連線的, MAX 可以找到它並且描述其主要及次要位址, 而身份識別則描述為 Instrument did not respond to *idn? query. 該張卡並不會對查詢作回應, 除非你撰寫程式讓它去回應.


相關連結: KnowledgeBase 1YRA63ZT: Communicating between Two GPIB Boards in One Computer
KnowledgeBase 17TGL4TR: Computer to Computer Communication via the GPIB


附加檔案:





報告日期: 02/18/2002
最後更新: 02/10/2004
文件偏號: 2IHFAQOH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit