User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-51
:DECoder<n>:SPI:MISO
Syntax :DECoder<n>:SPI:MISO <miso>
:DECoder<n>:SPI:MISO?
Description Set or query the MISO channel source in SPI decoding.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<miso> Discrete
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF}
OFF
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 D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Example
:DECoder1:SPI:MISO D0 /*Set the MISO channel source in SPI decoding to D0*/
:DECoder1:SPI:MISO? /*The query returns D0*/
: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
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4|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 D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Example
:DECoder1:SPI:MOSI D1 /*Set the MOSI channel source in SPI decoding to D1*/
:DECoder1:SPI:MOSI? /*The query returns D1*/