2 Command System RIGOL
MSO2000A/DS2000A 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
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|
D11|D12|D13|D14|D15|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 D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, 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.