![background image](http://html1.mh-extra.com/html/keithley/kpci-488-lpa/kpci-488-lpa_user-manual_3940953048.webp)
2-22
Return to
KPCI-488LPA-900-01 Rev. A / December 2008
Section 2: NI Command Compatible Functions
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Syntax
Microsoft C/C++ and Borland C++
int ibloc (int ud)
Visual Basic
ibloc (ByVal ud As Integer) As Integer
- or -
call ibloc (ByVal ud As Integer)
Parameters
ud
: board or device descriptor
Return Value
The value of the
ibsta
Error Codes
EBUS, ECIC, EDVR, ENEB, EOIP
ibonl
Description
This command resets the board or device parameters to default settings and sets the
device online or offline. If the device or interface is set to offline, the board or device
descriptor is no longer effect. Once called, use
ibdev
or
ibfind
to access the board or
device.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibonl (int ud, int onl)
Visual Basic
ibonl (ByVal ud As Integer, ByVal onl As Integer)
As Integer
- or -
call ibonl (ByVal ud As Integer, ByVal onl As
Integer)
Parameters
ud
: board or device descriptor
onl
: online (1) or offline (0)
Return Value
The value of the
ibsta
Error Codes
EARG, ENEB
ibnotify
Description
This command uses the selected callback function to notify the user of one or more
GPIB events. The re-synchronization handler is needed after the completion of the
asynchronous I/O operation; the global variable is passed to the callback function
while the operation of the I/O status is completed.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibnotify (int ud, int mask,
GpibNotifyCallback_t Callback, void *RefData)