Status Information
Appendix B
GPIB-232CT User Manual
B-10
© National Instruments Corp.
Serial Port Error Codes
The following paragraphs describe the serial port errors in detail.
In S mode, when a serial port error occurs as the GPIB-232CT receives a
programming message, the GPIB-232CT posts the error and discards the
message. If a serial port error occurs in the middle of a data stream
following a
cmd
or
wrt
function, the GPIB-232CT discards that data byte
and all subsequent data bytes. You can use the
spign
function to tell the
GPIB-232CT to ignore all serial port errors.
NSER 0
The GPIB-232CT reports this error when the
GPIB-232CT detected no serial port error as a result of
the last operation.
EPAR 1
The GPIB-232CT records this error when the parity of
the received character is not what was expected. This
means that 1 or more bits of the received character were
corrupted in such a way as to change the character's
parity.
EORN 2
The GPIB-232CT records this error when characters
arrive at the serial port faster than the serial port can
accept them. When this error occurs, one or more
characters sent to the serial port have been lost. If this
error occurs, check to see that the GPIB-232CT and your
serial device are using the same serial port settings.
EOFL 3
The GPIB-232CT records this error when the
GPIB-232CT's internal serial port buffer overflows. This
should only occur if XON/XOFF is disabled and there is
no hardware handshake in effect.