KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-29
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
Syntax
Microsoft C/C++ and Borland C++
int ibrsc (int ud, int v)
Visual Basic
ibrsc (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibrsc (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: device descriptor
v
: 0: release system control; 1: request system control
Return Value
The value of the
ibsta
Error Codes
EARG, EDVR, ENEB, EOIP
ibrsp
Description
This command performs sequential polling. The device is requesting service if bit 6 of
the response is set. If automatic sequential polling is enabled, the device has already
been polled and the previous status byte value is returned by
ibrsp
.
Support Level
Device level
Syntax
Microsoft C/C++ and Borland C++
int ibrsp (int ud, char *spr)
Visual Basic
ibrsp (ByVal ud As Integer, spr As Integer)
As Integer
- or -
call ibrsp (ByVal ud As Integer, spr As Integer)
Parameters
ud
: device descriptor
spr
: the sequential polling result
Return Value
The value of the
ibsta
Error Codes
EABO, EARG, EBUS, ECIC, EDVR, ENEB, EOIP, ESTB
ibrsv
Description
This command requests service and changes the status byte of the sequential polling.
Support Level
Board level
Syntax
Microsoft C/C++ and Borland C++
ibrsv (int ud, int v)
Visual Basic
ibrsv (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibrsv (ByVal ud As Integer, ByVal v As Integer)