16-36
IM 765501-01E
:SYSTem:COMMunicate:RS232:BAUDrate
Function
Sets the RS-232 baud rate or queries the
current setting.
Syntax
:SYSTem:COMMunicate:RS232:BAUDrate
9600|14400|19200|38400|57600|115200
9600 = Sets the baud rate to 9600 bps.
14400 = Sets the baud rate to 14400 bps.
19200 = Sets the baud rate to 19200 bps.
38400 = Sets the baud rate to 38400 bps.
57600 = Sets the baud rate to 57600 bps.
115200 = Sets the baud rate to 115200 bps.
:SYSTem:COMMunicate:RS232:BAUDrate?
→
9600 = Currently set to 9600 bps
14400 = Currently set to 14400 bps
19200 = Currently set to 19200 bps
38400 = Currently set to 38400 bps
57600 = Currently set to 57600 bps
115200 = Currently set to 115200 bps
Example
:SYST:COMM:RS232:BAUD 38400
:SYST:COMM:RS232:BAUD?
:SYSTem:COMMunicate:RS232:DLENgth
Function
Sets the RS-232 data length (7 bits or 8 bits) or
queries the current setting.
Syntax
:SYSTem:COMMunicate:RS232:DLENgth
7|8
7 = Sets the data length to 7 bits.
8 = Sets the data length to 8 bits.
:SYSTem:COMMunicate:RS232:DLENgth?
→
7 = Currently set to 7 bits.
8 = Currently set to 8 bits.
Example
:SYST:COMM:RS232:DLEN 8
:SYST:COMM:RS232:DLEN?
:SYSTem:COMMunicate:RS232:PARity
Function
Sets the RS-232 parity (none, even, or odd) or
queries the current setting.
Syntax
:SYSTem:COMMunicate:RS232:PARity
NONE|EVEN|ODD
NONE = Sets the parity to none.
EVEN = Sets the parity to even.
ODD = Sets the parity to ODD.
:SYSTem:COMMunicate:RS232:PARity?
→
NONE = Currently set to none
EVEN = Currently set to even
ODD = Currently set to odd
Example
:SYST:COMM:RS232:PAR NONE
:SYST:COMM:RS232:PAR?
:SYSTem:COMMunicate:RS232:SBITs
Function
Sets the RS-232 stop bit(1 bit or 2 bits) or
queries the current setting.
Syntax
:SYSTem:COMMunicate:RS232:SBITs 1|2
1 = Sets the stop bit to 1 bit.
2 = Sets the stop bit to 2 bits.
:SYSTem:COMMunicate:RS232:SBITs?
→
1 = Currently set to 1 bit.
2 = Currently set to 2 bits.
Example
:SYST:COMM:RS232:SBIT 1
:SYST:COMM:RS232:SBIT?
:SYSTem:COMMunicate:RS232:PACE
Function
Sets the RS-232 flow control (none, XON-OFF,
or CTS-RTS) or queries the current setting.
Syntax
:SYSTem:COMMunicate:RS232:PACE
NONE|XON|HARDware
NONE = Sets the flow control to none.
XON = Sets the flow control to XON/XOFF.
HARDware = Sets the flow control to CTS/RTS.
:SYSTem:COMMunicate:RS232:SBITs?
→
NONE = Currently set to none
XON = Currently set to XON/XOFF control
HARD = Currently set to CTS/RTS control
Example
:SYST:COMM:RS232:PACE HARD
:SYST:COMM:RS232:PACE?
:SYSTem:COMMunicate:RS232:TERMinator
Function
Sets the RS-232 terminator (CR, LF, or CR+LF)
or queries the current setting.
Syntax
:SYSTem:COMMunicate:RS232:
TERMinatorCR|LF|CRLF
CR = Sets the terminator to CR (ASCII code:
0x0D).
LF = Sets the terminator to LF (ASCII code:
0x0A).
CRLF = Sets the terminator to CR+LF.
:SYSTem:COMMunicate:RS232:
TERMinator?
→
CR = Currently set to CR
LF = Currently set to LF
CRLF = Currently set to CR+LF
Example
:SYST:COMM:RS232:TERM LF
:SYST:COMM:RS232:TERM?
Description This setting is the terminator for transmission
messages. When receiving messages, CR, LF,
and CR+LF are all accepted as terminators.
16.2 Commands