Download NI-488.2 Function Reference Manual for DOS/Windows

Transcript
NI-488 Functions
Chapter 1
IBRSV
Board Level
IBRSV
(Continued)
Input
ud
v
Board descriptor
Serial poll status byte
Output
Function Return
The value of ibsta
Description
ibrsv requests service from the Controller and provides the Controller with an
application-dependent status byte when the Controller serial polls the GPIB board.
The value v is the status byte that the GPIB board returns when serial polled by the
Controller-In-Charge. If bit 6 (hex 40) is set in v, the GPIB board 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
EARG
ud is a valid descriptor but does not refer to a board.
EDVR
Either ud is invalid or the NI-488.2 driver is not installed.
ENEB
The interface board is not installed or is not properly
configured.
EOIP
Asynchronous I/O is in progress.
NI-488.2 FRM for DOS/Windows
1-98
© National Instruments Corp.