S Mode Functions
Chapter 5
GPIB-232CT User Manual
5-44
© National Instruments Corp.
spign - Ignore Serial Port Errors
Type:
Serial Port function
Syntax:
spi
gn [bool]
<CR>
Purpose:
You
use
spign
at the beginning of your program if you wish
to change the effect that serial port errors have on how the
GPIB-232CT processes programming messages and data.
This function tells the GPIB-232CT to ignore or not to ignore
the occurrence of serial port errors. By default, the
GPIB-232CT ignores serial port errors.
Remarks:
If the argument
bool
is 0, the GPIB-232CT will not ignore
serial port errors. When
bool
is 0, the GPIB-232CT does not
execute programming messages that contain serial port errors.
A list of serial port errors are given in Appendix B. Also, if a
serial port error occurs with any byte contained in a
cmd
or
wrt
data string, the GPIB-232CT discards that data byte and
all remaining bytes in the string.
The serial port errors include parity, overrun, framing, and
overflow errors.
If the argument
bool
is 1, the GPIB-232CT executes all
programming messages and sends all data, even if serial port
errors occur as the messages and data bytes are received.
If you call
spign
without an argument, the GPIB-232CT
returns to you the current setting.
See Also:
cmd
and
wrt
.