Serial Port Error Conditions - National Instruments GPIB-MAC User Manual

Table of Contents

Advertisement

November 1985
Numeric
Value (n) Value (s)
A detailed description of the conditions under which
each bit in status is set or cleared may be found in
Appendix B.
In general, the GPIB-MAC updates the first three status
variables at the end of each programming message. It
updates the fourth, count, after a cmd, rd, or
function The errors reported correspond to the previous
programming message. For example, if you call wrt
and then stat s, any errors returned to you correspond
to errors in the
However, if status is returned in continuous mode, the
status information corresponds to the current
programming message. For example, suppose you call
stat c s to set up continuous status reporting. After
reading the status information returned for the
you call wrt. The
information that corresponds to the wrt message.
Refer to the following examples for ways in which to
make use of the status information.
When you wish to begin continuous status reporting,
send the stat c s, stat c n, or stat c
message. Status information will be immediately
returned indicating the current status conditions. When
78
SECTION FOUR - FUNCTIONS

SERIAL PORT ERROR CONDITIONS

Symbolic
NSER
EPAR
EORN
EOFL
EFRM
wrt
programming message, not
GPIB-MAC then returns the status
Description
No serial port error
condition to report
Serial port parity error
Serial port overrun error
Serial port receive buffer
overflow
Serial port framing error
n s
programming
wrt
stat.
stat call,

Advertisement

Table of Contents
loading

Table of Contents