Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-45
:DECoder<n>:UART:RX
:DECoder<n>:UART:RX <rx>
:DECoder<n>:UART:RX?
Set or query the RX channel source of RS232 decoding.
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF}
When OFF is selected, no RX channel source will be set. The RX channel source and TX
channel source (:DECoder<n>:UART:TX) cannot be both set to OFF.
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
:DECoder1:UART:RX CHAN4 /*Set the RX channel source to CH4*/
:DECoder1:UART:RX? /*The query returns CHAN4*/
:DECoder<n>:UART:POLarity
:DECoder<n>:UART:POLarity <pol>
:DECoder<n>:UART:POLarity?
Set or query the polarity of RS232 decoding.
 NEGative: negative polarity ( ), namely high level is 0 and low level is 1. The
RS232 standard uses negative polarity.
 POSitive: positive polarity ( ), namely high level is 1 and low level is 0.
The query returns NEG or POS.
:DECoder1:UART:POLarity NEGative /*Set the polarity of RS232 decoding to
negative*/
:DECoder1:UART:POLarity? /*The query returns NEG*/