
November 1985
National Instruments
spign Ignore Serial Port Errors
spign: Serial Port function
Syntax: spign [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-MAC processes programming messages
and data. This function tells the GPIB-MAC to ignore or
not to ignore the occurrence of serial port errors. By
default, the GPIB-MAC ignores serial port errors.
If the argument
is 0, the GPIB-MAC will not
ignore serial port errors. When
is 0, the
MAC does not execute programming messages that con-
tain serial port errors. A list of serial port errors are
listed in Appendix B. Also, if a serial port error occurs
with any byte contained in a
cmd
or
wrt
data string, the
GPIB-MAC 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
is 1, the GPIB-MAC executes all
programming messages and sends all data, even if serial
port errors occur as the messages and data bytes are
received
No matter what value
has, the GPIB-MAC still
records the errors in the serial-error portion of the status
area.
If you call
spign
without an argument, the GPIB-MAC
returns to you the current setting.
Refer also to
cmd
and
wrt.
7 1
SECTION
FUNCTIONS