Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Does 1 ibnotify cover more than 1 devices on the bus?

I have 6 devices on the GPIB bus and I want to use an interrupt when any of those devices raises an RQS. Do I need a separate ibnotify call for each device?
0 Kudos
Message 1 of 3
(2,896 Views)
langebeth,

To my knowledge you would need seperate ibnotify calls. For your application to be notified of an RQS assertion that could occur on any device on the GPIB you would need an ibnotify for each unit descriptor.
0 Kudos
Message 2 of 3
(2,887 Views)
The answer to this question really depends on how you want to set it up. If you ibnotify on a device-level descriptor (opened with ibdev) for RQS, you are getting a notification that that device alone has asserted its RQS bit. If you ibnotify on a board-level descriptor (opened with ibfind) for SRQI, you can get a notification when any device asserts SRQ (which usually means that some device has asserted its RQS bit, but you have to figure out which one did).

Hope this helps.

Scott B.
GPIB
National Instruments
0 Kudos
Message 3 of 3
(2,877 Views)