
November 1985
National Instruments
Appendix B Status Information
This appendix describes the status and error information that the
records as it executes each programming message. 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
TJMO
END
-32768
The ERR bit is set in
status
following any call that results in
an error; the particular error may 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.
Note: By examining this bit, you may 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.
16384
The
bit specifies whether a timeout has occurred. The
bit is set in the status word following a call to
wait
if
the
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
bit is also set following a call to any of
the
functions (e.g.,
rd, wrt,
and
cmd),
if a timeout
occurs during a call. The
bit is cleared in the status
word in all other circumstances.
8192
The END bit specifies whether the END or EOS message
has been received. The END bit is set in the status word
following a
rd
function if the END or EOS message was
97
APPENDIX B STATUS INFORMATION