Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Wait for SRQ in linux-GPIB

Is there a possibility to wait for a SRQ assert in the linux-GPIB environment without blocking the program excecution, something like setting up and using the call-back function in the Windows-GPIB environment?
0 Kudos
Message 1 of 2
(3,308 Views)
Hello-

Try creating a seperate thread that will actively poll for SRQ every 10ms or so. This way it's possible to keep the main thread executing other tasks like the user interface or other GPIB commands.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,308 Views)