User manual
Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-37
:DECoder Commands
The :DECoder commands are used to execute decoding settings and operations.
Command List:
:DECoder<n>:MODE
:DECoder<n>:DISPlay
:DECoder<n>:FORMat
:DECoder<n>:POSition
:DECoder<n>:THREshold:CHANnel1
:DECoder<n>:THREshold:CHANnel2
:DECoder<n>:THREshold:CHANnel3
:DECoder<n>:THREshold:CHANnel4
:DECoder<n>:THREshold:AUTO
:DECoder<n>:CONFig:LABel
:DECoder<n>:CONFig:LINE
:DECoder<n>:CONFig:FORMat
:DECoder<n>:CONFig:ENDian
:DECoder<n>:CONFig:WIDth
:DECoder<n>:CONFig:SRATe?
:DECoder<n>:UART (Option)
:DECoder<n>:IIC (Option)
:DECoder<n>:SPI (Option)
:DECoder<n>:PARallel
:DECoder<n>:MODE
Syntax :DECoder<n>:MODE <mode>
:DECoder<n>:MODE?
Description Set or query the decoder type.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<mode>
Discrete
{PARallel|UART|SPI|IIC}
PARallel
Explanation PARallel, UART, SPI, and IIC correspond to parallel decoding, RS232 decoding, SPI
decoding, and I2C decoding respectively. Wherein, RS232 decoding, SPI decoding, and
I2C decoding are options and this command is only available when the corresponding
option is installed.
Return
Format
The query returns PAR, UART, SPI, or IIC.
Example :DECoder1:MODE SPI /*Set the decoder type to SPI*/
:DECoder1:MODE? /*The query returns SPI*/