Instructions

RIGOL Chapter 2 Command System
2-40 DS1000Z-E Programming Guide
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<baud>
Integer
110 to 20M
9600
Return
Format
The query returns the current baud rate in integer.
Example
:DECoder1:UART:BAUD 57600 /*Set the buad rate of RS232 decoding to 57600bps*/
:DECoder1:UART:BAUD? /*The query returns 57600*/
:DECoder<n>:UART:WIDTh
Syntax :DECoder<n>:UART:WIDTh <wid>
:DECoder<n>:UART:WIDTh?
Description
Set or query the width of each frame of data in RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<wid>
Integer
5 to 8
8
Return
Format
The query returns an integer between 5 and 8.
Example
:DECoder1:UART:WIDTh 7 /*Set the data width in RS232 decoding to 7*/
:DECoder1:UART:WIDTh? /*The query returns 7*/
:DECoder<n>:UART:STOP
Syntax :DECoder<n>:UART:STOP <stop>
:DECoder<n>:UART:STOP?
Description Set or query the stop bit after each frame of data in RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<stop>
Discrete
{1|1.5|2}
1
Return
Format
The query returns 1, 1.5, or 2.
Example
:DECoder1:UART:STOP 1.5 /*Set the stop bit in RS232 decoding to 1.5*/
:DECoder1:UART:STOP? /*The query returns 1.5*/
:DECoder<n>:UART:PARity
Syntax :DECoder<n>:UART:PARity <parity>
:DECoder<n>:UART:PARity?
Description Set or query the even-odd check mode of the data transmission in RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<parity> Discrete {NONE|EVEN|ODD} NONE