S Mode Functions
Chapter 5
GPIB-232CT User Manual
5-64
© National Instruments Corp.
case you might configure the GPIB-232CT using the second
example.
Notice that the comma must precede the argument in this case.
The power-on default is that XON/XOFF for both cases is
disabled.
If you call
xon
without an argument, the GPIB-232CT returns
to you the current settings (1=protocol enabled, 0=protocol
disabled).
Examples:
1.
PRINT #1,"XON 1,1"
'Enable GPIB-232CT
'XON/XOFF protocol for
'TX and RX.
2.
PRINT #1,"XON 0,1"
'Disable protocol on TX;
'enable protocol on RX.
3.
PRINT #1,"XON"
'Return current settings.
response: 0,1<CR><LF>
(transmit protocol
disabled, receive protocol
enabled)
4.
PRINT #1, "XON ,0"
'Disable protocol on RX,
'keep current setting on
'TX.