National Instruments GPIB-MAC User Manual page 82

Table of Contents

Advertisement

November 1985
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.
ignore serial port errors. When
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
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 boo1 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
records the errors in the serial-error portion of the status
area.
If you call
returns to you the current setting.
Refer also to
7 1
SECTION FOUR - FUNCTIONS
is 0, the GPIB-MAC will not
spign
without an argument, the GPIB-MAC
cmd
wrt.
and
is 0, the GPIB-
cmd
wrt
or
data string, the
has, the GPIB-MAC still

Advertisement

Table of Contents
loading

Table of Contents