S Mode Functions
Chapter 5
GPIB-232CT User Manual
5-48
© National Instruments Corp.
highest order bit of status, also called the sign bit, is set when
the GPIB-232CT detects either a GPIB error or a serial port
error. Consequently, when status is negative, an error
condition exists, and when status is positive, no error
condition exists.
GPIB-error represents a single GPIB error condition present.
Serial-error represents a single serial error condition present.
count is the number of bytes transferred over the GPIB by the
last
rd
,
wrt
, or
cmd
function.
Table 5-2. GPIB Status Conditions
!
Numeric
Symbolic
Value (n)
Value (s)
Description
Bit
!
!
-32768
ERR
Error
detected
15
!
!
16384
TIMO
Timeout
14
!
!
8192
END
EOI or EOS detected
13
!
!
4096
SRQI
SRQ detected while CIC
12
!
!
2048
—
Reserved
11
!
!
1024
—
Reserved
10
!
!
512
—
Reserved
9
!
!
256
CMPL Operation
completed
8
!
!
128
LOK
Lockout
state
7
!
!
64
REM Remote
state
6
!
!
32
CIC
Controller-In-Charge
5
!
!
16
ATN Attention
asserted
4
!
(continues)