RIGOL 2 Command System
2-24 DS2000E Programming Guide
:BUS<n>:RS232:RX
Syntax
:BUS<n>:RS232:RX <source>
:BUS<n>:RS232:RX?
Description
Set or query the RX channel source of RS232 decoding on the specified bus.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<source> Discrete {CHANnel1|CHANnel2|OFF} OFF
Explanation
When OFF is selected, no RX channel source will be set. The TX channel source and RX channel source
cannot both be set to OFF.
Return Format
The query returns CHAN1, CHAN2, or OFF.
:BUS<n>:RS232:POLarity
Syntax
:BUS<n>:RS232:POLarity <pol>
:BUS<n>:RS232:POLarity?
Description
Set or query the polarity of RS232 decoding on the specified bus.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<pol> Discrete {POSitive|NEGative} NEGative
Explanation
The RS232 standard uses negative logic; namely high level is 0 and low level is 1. Therefore, when <pol>
is set to NEGative, the polarity is set to negative logic (namely "Normal" polarity); when <pol> is set to
POSitive, the polarity is set to positive polarity (namely "Invert" polarity).
Return Format
The query returns POS or NEG.