Instructions
Chapter 2 Command System RIGOL
DS1000Z-E Programming Guide 2-45
Explanation When OFF is selected, no MISO channel source will be set. The MISO channel source and
MOSI channel source (
:DECoder<n>:SPI:MOSI) cannot be both set to OFF.
Return
Format
The query returns CHAN1, CHAN2, or OFF.
Example
:DECoder1:SPI:MISO CHANnel1 /*Set the MISO channel source in SPI decoding to
CH1*/
:DECoder1:SPI:MISO? /*The query returns CHAN1*/
:DECoder<n>:SPI:MOSI
Syntax :DECoder<n>:SPI:MOSI <mosi>
:DECoder<n>:SPI:MOSI?
Description Set or query the MOSI channel source in SPI decoding.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<mosi> Discrete {CHANnel1|CHANnel2|OFF} CHANnel2
Explanation When OFF is selected, no MOSI channel source will be set. The MOSI channel source and
MISO channel source (
:DECoder<n>:SPI:MISO) cannot be both set to OFF.
Return
Format
The query returns CHAN1, CHAN2, or OFF.
Example
:DECoder1:SPI:MOSI CHANnel1 /*Set the MOSI channel source in SPI decoding to
CH1*/
:DECoder1:SPI:MOSI? /*The query returns CHAN1*/
:DECoder<n>:SPI:CS
Syntax :DECoder<n>:SPI:CS <cs>
:DECoder<n>:SPI:CS?
Description Set or query the CS channel source in SPI decoding.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<cs> Discrete {CHANnel1|CHANnel2} CHANnel1
Explanation This command is only valid in the CS mode (:DECoder<n>:SPI:MODE).
Return
Format
The query returns CHAN1 or CHAN2.
Example
:DECoder1:SPI:CS CHANnel2 /*Set the CS channel source in SPI decoding to CH2*/
:DECoder1:SPI:CS? /*The query returns CHAN2*/










