![background image](http://html1.mh-extra.com/html/keithley/kpci-488-lpa/kpci-488-lpa_user-manual_3940953035.webp)
KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-9
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
NI command compatible function reference
Use this section as a function reference for NI command compatible functions. Refer to
for
information on Keithley Command Compatible Functions.
ibask
Description
This command returns the current value of the selected configuration item.
Support Level
Board / Device Level
Syntax
Microsoft C/C++ and Borland C++
int ibask (int ud, int option, int *value)
Visual Basic
ibask (ByVal ud As Integer, ByVal opt As Integer,
rval As Integer) As Integer
-or-
call ibask (ByVal ud As Integer, ByVal opt As
Integer, rval As Integer)
Parameters
ud
: board or device unit descriptor
option
: the configuration item value will be returned (refer to valid options as shown in
value
: the current value of the selected configuration item returned
Return Value
The value of the
ibsta
Error Codes
EARG, ECAP, EDVR
Table 2-5
ibask board configuration parameter options
Options
(Constants)
Options
(Value)
Returned Information
ibaPAD
0x0001
The board current primary address.
ibaSAD
0x0002
The board current secondary address.
ibaTMO
0x0003
The board current I/O timeout.
ibaEOT
0x0004
0: After termination of the writing operation, the
GPIB EOI
line is not
set to enable.
1: After termination of the writing operation, the
GPIB EOI
line is set to
enable.
ibaPPC
0x0005
The current parallel polling configuration board setting.
ibaAUTOPOLL
0x0007
0: Disable the automatic sequential polling.
1: Enable the automatic sequential polling.
ibaCICPROT
0x0008
0: Disable the CIC protocol.
1: Enable the CIC protocol.
ibaIRQ
0x0009
0: Disable the Interrupts.
1: Enable the Interrupts.
ibaSC
0x000A
0: The board is not the GPIB System Controller.
1: The board is the GPIB System Controller.