National Instruments GPIB-MAC User Manual page 102

Table of Contents

Advertisement

November 1985
xon - Change Serial Port XON/XOFF Protocol
xon:
Serial Port function
Syntax:
xon [booltx][,boolrx]<CR>
Purpose:
You use
configure the GPIB-MAC to communicate over the serial
port using the same XON/XOPP protocol as your
Macintosh.
Remarks:
The argument
serial port. If the argument
MAC monitors its serial receive buffer for XON/XOPl?
characters as it sends data over the serial port. If it
receives the XOPP character (decimal 19 or <c&s), it
will immediately stop sending data. When it receives the
XON character (decimal 17 or <c&q), it begins
sending data again.
If you want to send a data string that may contain a
The
port. If the argument
MAC is receiving data over the serial port, it sends
almost full). This tells the sender to stop sending data.
When the GPIB-MAC serial port receive buffer has
room to safely receive more bytes, the GPIB-MAC
sends XON over the serial port. This tells the sender to
begin sending data again.
You should use XON/XOP.P when you are transferring
large amounts of data at a high baud rates. Without it,
you are in danger of overflowing the GPIB-MAC
internal buffer or your Macintosh's internal buffer.
91
SECTION FOUR - FUNCTIONS
xon
at the beginning of your program to
booltx
boolrx
argument
specifies whether to enable the
booltx
is a 1, the GPIB-
specifies whether to enable the
boolrx
is a 1, and the GPIB-
booltx.

Advertisement

Table of Contents
loading

Table of Contents