Rigol MSO1000Z Series Programming Manual page 61

Digital oscilloscope
Hide thumbs Also See for MSO1000Z Series:
Table of Contents

Advertisement

Chapter 2 Command System
:DECoder<n>:UART:RX
Syntax
:DECoder<n>:UART:RX <rx>
:DECoder<n>:UART:RX?
Description
Set or query the RX channel source of RS232 decoding.
Parameter
Name
<n>
<rx>
Explanation
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.
Return
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
Format
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Example
:DECoder1:UART:RX CHAN4
:DECoder1:UART:RX?
:DECoder<n>:UART:POLarity
Syntax
:DECoder<n>:UART:POLarity <pol>
:DECoder<n>:UART:POLarity?
Description
Set or query the polarity of RS232 decoding.
Parameter
Name
<n>
<pol>
Explanation
NEGative: negative polarity (
RS232 standard uses negative polarity.
POSitive: positive polarity (
Return
The query returns NEG or POS.
Format
Example
:DECoder1:UART:POLarity NEGative
:DECoder1:UART:POLarity?
MSO1000Z/DS1000Z Programming Guide
Type
Range
Discrete
{1|2}
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
Discrete
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF}
/*Set the RX channel source to CH4*/
/*The query returns CHAN4*/
Type
Range
Discrete
{1|2}
Discrete
{NEGative|POSitive}
), namely high level is 0 and low level is 1. The
), namely high level is 1 and low level is 0.
/*Set the polarity of RS232 decoding to
negative*/
/*The query returns NEG*/
RIGOL
Default
--
OFF
Default
--
POSitive
2-45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents