User manual
RIGOL Chapter 2 Command System
2-38 MSO1000Z/DS1000Z Programming Guide
:DECoder<n>:DISPlay
Syntax :DECoder<n>:DISPlay <bool>
:DECoder<n>:DISPlay?
Description Turn on or off the decoder or query the status of the decoder.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Return
Format
The query returns 1 or 0.
Example
:DECoder1:DISPlay ON /*Turn on Decoder 1*/
:DECoder1:DISPlay? /*The query returns 1*/
:DECoder<n>:FORMat
Syntax :DECoder<n>:FORMat <fmt>
:DECoder<n>:FORMat?
Description Set or query the bus display format.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<fmt> Discrete {HEX|ASCii|DEC|BIN|LINE} ASCii
Explanation HEX: hexadecimal; DEC: decimal; BIN: binary
In LINE format, the actual values of the bus are displayed in binary form and the
order is consistent with the bus transmission order. This format is only valid for
serial buses which include LSB and MSB endian. If MSB endian is selected, LINE
format is the same as binary.
Return
Format
The query returns HEX, ASC, DEC, BIN, or LINE.
Example
:DECoder1:FORMat HEX /*Set the bus display format to hexadecimal*/
:DECoder1:FORMat? /*The query returns HEX*/