KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-11
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
ibbna
Description
This command assigns the device unit descriptor to the boardname.
Support Level
Device level
Syntax
Microsoft C/C++ and Borland C++
int ibbna (int ud, char *board_name)
Syntax
Visual Basic
ibbna (ByVal ud As Integer, ByVal udname As String)
As Integer
- or -
call ibbna (ByVal ud As Integer, ByVal udname As String)
Parameters
ud
: device unit descriptor
board_name
: the access board name; gpib0 for example
Return Value
The value of the
ibsta
Error Codes
EARG, ECAP, EDVR, EOIP, ENEB
ibaREADDR
0x0006
0: The unnecessary addressing is not operated during the device-level
writing or reading.
1: The addressing is operated continuously during the device-level
writing or reading.
ibaEOSrd
0x000C
0: Ignore the
EOS character
during reading.
1: The reading is stopped while the
EOS character
is read.
ibaEOSwrt
0x000D
0: The EOI line is not set to enable when the
EOS character
is sent
during writing.
1: The EOI line is set to enable when the
EOS character
is sent during
writing.
ibaEOScmp
0x000E
0: Compare all EOS with 7 bits.
1: Compare all EOS with 8 bits.
ibaEOSchar
0x000F
The board current
EOS character
.
ibaSPollTime
0x0018
The waiting time of the driver for the sequential polling response. The
time is represented by ibtmo timing value.
ibaEndBitIsNormal
al0x001A 0: The END bit of the
ibsta
is set only when the
EOI
or both
EOI
and
EOS
are received; if the
EOS
is received without
EOI
, the END bit is
not set.
1: When the
EOI
,
EOS
, or both
EOI
and
EOS
is received, the
END bit
is set.
ibaBNA
0x0200
The index of the GPIB access board for the assigned device
descriptor.
Table 2-6 (continued)
ibask device configuration parameter options
Options
(Constants)
Options
(Values)
Returned Information