Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

SRQI on GPIB-ENET/100

I am trying to have the GPIB-ENET/100 detect SRQ events from a device. It looks like the only way to know whether or not SRQ was raised is to call ibwait() on SRQI. If I call ibrsp() without calling ibwait(), then the GPIB-ENET/100 can never see SRQ events. I am using the ESP-488 which doesn't appear to support autopolling. Is there a way to see SRQ without calling ibwait()?

-Daniel
0 Kudos
Message 1 of 2
(3,365 Views)
Hi,

Autopolling is handled by the ENET's firmware. You use ibconfig IbcAUTOPOLL to enable or disable autopolling.

You can check the status variable (ibsta). Bit 12 is SRQI and will be set when an SRQ occurs. Even if autopolling is enabled, the SRQI bit will remain set until ibrsp is executed.

Hope this helps.

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(3,365 Views)