Conduct a serial poll.
unsigned int ibrsp (int ud, char *spr)
ibrsp
ud | Device descriptor |
spr | Serial poll response byte |
Function Return | The value of Ibsta |
The ibrsp function is used to serial poll the device ud. The serial poll response byte is returned in spr. If bit 6 (hex 40) of the response is set, the device is requesting service. When the automatic serial polling feature is enabled, the device might have already been polled. In this case, ibrsp returns the previously acquired status byte.
For more information about serial polling, refer to the Serial Polling Overview.
EABO | The serial poll response could not be read within the serial poll timeout period. |
EBUS | No devices are connected to the GPIB. |
ECIC | The access board is not CIC. See Device-Level Calls and Bus Management. |
EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
EHDL | ud is invalid or out of range. |
ELCK | The requested operation could not be performed because of an existing lock by another process. |
ENEB | The interface is not installed or is not properly configured. |
EOIP | Asynchronous I/O is in progress. |