IBRSV
Board-Level
Note ibrsv is deprecated. Use ibconfig (IbcRSV) instead. |
Purpose
Request service and change the serial poll status byte.
Format
C
unsigned long ibrsv (int ud, int v)
Visual Basic
CALL ibrsv (ud%, v%)
or
status% = ilrsv (ud%, v%)
Interactive Control (Usage Notes)
ibrsv v
Input
ud | Board descriptor |
v | Serial poll status byte |
Output
Function Return | The value of Ibsta |
Description
ibrsv is used to request service from the Controller and to provide the Controller with an application-dependent status byte when the Controller serial polls the GPIB interface.
The value v is the status byte that the GPIB interface returns when serial polled by the Controller-In-Charge. If bit 6 (hex 40) is set in v, the GPIB interface requests service from the Controller by asserting the GPIB SRQ line. When ibrsv is called and an error does not occur, the previous status byte is returned in Iberr.
Possible Errors
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. |