2-20
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
ibist
Description
This command sets or clears the board individual
status (ist)
bit for parallel polling.
Support Level
Board level
Syntax
Microsoft C/C++ and Borland C++
int ibist (int ud, int ist)
Visual Basic
ibist (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibist (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: board descriptor
v
: shows whether to set or clear the
ist
bit
Return Value
The value of the
ibsta
Error Codes
EARG, EDVR, ENEB, EOIP
iblines
Description
Returns the
GPIB control
lines status. The low-order lines byte (bits 0 to 7) shows
that the GPIB interface has the capability to automatically detect the status of each
GPIB control line. The upper byte (bits 8 to 15) shows the status of the GPIB control
line. A description of each byte is listed in
.
To determine whether a GPIB line is controlled, complete the following steps:
1. Check the appropriate bit of the low byte to ensure the line can be monitored.
2. Check whether the corresponding bit of the upper byte can be monitored (the
appropriate bit of the low byte is 1).
If the checked bit of the upper byte is set (1), the corresponding line is in controlled
status; if the checked bit of the upper byte is clear (0), the corresponding line is not in
controlled status.
Support Level
Board level
Syntax
Microsoft C/C++ and Borland C++
int iblines (int ud, short *line_status)
Visual Basic
iblines (ByVal ud As Integer, lines As Integer)
As Integer
- or -
call iblines (ByVal ud As Integer, lines As Integer)
Table 2-10
iblines
7
6
5
4
3
2
1
0
EOI ATN SRQ REN INF NRFD NDAC DAV