© National Instruments Corp.
B-1
GPIB-232CT User Manual
Appendix B
Status and Message Information
This appendix describes the status and error information that the
GPIB-232CT records as it executes each programming message. Items that
apply to S mode are marked with an S. Items that apply to G mode are
marked with a G. The number preceding each description is the numeric
value of that bit in the status word or of the error code.
Status Bits
The following paragraphs describe the conditions represented by the bits in
status.
ERR S/G
-32768
The ERR bit is set in
status
following any call that
results in an error; the particular error can be determined
by examining the
GPIB-error
and
serial-error
values. The ERR bit is cleared following any call that
does not result in an error.
By examining this bit, you can check for an error
condition after each call. An error made early in your
application program may not become apparent until a
later instruction. At that time, the error can be more
difficult to locate.
TIMO S
16384
The TIMO bit specifies whether a timeout has occurred.
The TIMO bit is set in the status word following a call to
wait
if the TIMO bit of the wait
mask
parameter is also
set and if the wait has exceeded the time limit value that
is set by the
tmo
call. The TIMO bit is also set following
a call to any of the I/O functions (for example,
rd
,
wrt
,
and
cmd
), if a timeout occurs during a call. The TIMO
bit is cleared in the status word in all other circumstances.