Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I need a GPIB instrument to generate a trigger via gpib when the instrument actually triggers. how do I do it?

I need a trigger from a gpib instrument to get my application running, when that particular device actually triggers. I want this trigger from the Ieee 488 bus that is the from the GPIB port of the device.
0 Kudos
Message 1 of 2
(3,162 Views)
Hi,

The only way an instrument can notify the controller of any event is using the SRQ line. Usually, the GPIB application sends the appropriate commands to the instrument and then can way for the instrument to assert the SRQ line.

The NI-488.2 driver has several functions that allows a program to detect and react to SRQs, like ibwait and ibnotify.

DiegoF.
0 Kudos
Message 2 of 2
(3,162 Views)