Download Chapter 1 Contents

Transcript
:COMMunicate
:COMMunicate
:SERial[n]
:CONTrol:RTS
SYSTem:COMMunicate:SERial[n]:CONTrol:RTS <rts_cntrl> controls the
behavior of the Request To Send (RTS) output line. RTS can be set to a static state
(ON | OFF), can operate as a modem control line (STANdard), or can be used as a
hardware handshake line (IBFull).
Parameters
Name
bytes
Comments
• <rts_cntl> Parameter Definitions. The selected RTS control setting is in
effect after the end of the program message containing the RTS
command.The following table defines each value of rts_cntrl:
Value
ON
OFF
STANdard
IBFull
Description
Sets size of memory
IBASIC will request.
Range
1024 - 65536 bytes
Default
8192 bytes
Definition
RTS line is asserted
RTS line is unasserted
RTS will be asserted when the serial interface is able to send output data. Data
will be sent if the connected device asserts CTS (clear to send).
While the input buffer is not yet at the :STOP threshold, RTS is asserted.
When the input buffer reaches the :STOP threshold, RTS is unasserted.
• We recommend you set ...DTR and ...RTS to STANdard when operating a
modem.
• DIAG:BOOT:COLD will set ...RTS to ON
• Related Commands: SYST:COMM:SER[n]:CONT:DTR,
SYST:COMM:SER[n]:PACE:THR:STARt,
SYST:COMM:SER[n]:PACE:THR:STOP
• Related Commands: SYST:COMM:SER[n]:CONT:DTR
• *RST Condition: No change
Example
Unasserting the RTS Line
SYST:COMM:SER1:CONT:RTS OFF
Unasserts the RTS line for the serial interface on Agilent E1324A
module #1
:COMMunicate
:SERial[n]
:CONTrol:RTS?
Example
SYSTem:COMMunicate:SERial[n]:CONTrol:RTS? returns the current setting
for RTS line control.
Query RTS Control Line Setting
SYST:COMM:SER1:CONT:RTS?
Query RTS control line setting for serial interface on Agilent
E1324A module #1
ENTER statement
Returns "ON", "OFF", "STAN", or "IBF"
SCPI Command Reference 8-27