RIGOL Chapter 2 Command System
2-46 MSO1000Z/DS1000Z Programming Guide
:DECoder<n>:UART:ENDian
:DECoder<n>:UART:ENDian <endian>
:DECoder<n>:UART:ENDian?
Set or query the endian of RS232 decoding.
The query returns LSB or MSB.
:DECoder1:UART:ENDian MSB /*Set the endian of RS232 decoding to MSB*/
:DECoder1:UART:ENDian? /*The query returns MSB*/
:DECoder<n>:UART:BAUD
:DECoder<n>:UART:BAUD <baud>
:DECoder<n>:UART:BAUD?
Set or query the buad rate of RS232 decoding. The default unit is bps (baud per second).
The query returns the current baud rate in integer.
:DECoder1:UART:BAUD 57600 /*Set the buad rate of RS232 decoding to 57600bps*/
:DECoder1:UART:BAUD? /*The query returns 57600*/
:DECoder<n>:UART:WIDTh
:DECoder<n>:UART:WIDTh <wid>
:DECoder<n>:UART:WIDTh?
Set or query the width of each frame of data in RS232 decoding.
The query returns an integer between 5 and 8.
:DECoder1:UART:WIDTh 7 /*Set the data width in RS232 decoding to 7*/
:DECoder1:UART:WIDTh? /*The query returns 7*/