Chapter 7
G Mode Functions — stat
7-14
www.ni.com
Table 7-3 lists the values and descriptions of GPIB status conditions that might be returned
by the
stat
function.
The GPIB error code represents a single GPIB error condition present. The serial error code
represents a single serial error condition present.
count
is the number of bytes currently
contained in the GPIB-232/485CT-A serial port receive buffer.
Table 7-3.
G Mode GPIB-232/485CT-A Conditions Returned by stat
Numeric Value (n)
Symbolic Value (s)
Description
Bit
–32768
ERR
Error detected
15
16384
—
Reserved
14
8192
—
Reserved
13
4096
—
Reserved
12
2048
—
Reserved
11
1024
—
Reserved
10
512
—
Reserved
9
256
CMPL
Operation completed
8
128
—
Reserved
7
64
—
Reserved
6
32
—
Reserved
5
16
—
Reserved
4
8
—
Reserved
3
4
—
Reserved
2
2
—
Reserved
1
1
—
Reserved
0