RIGOL  Chapter 2 Command System 
2-52    MSO1000Z/DS1000Z Programming Guide 
:DECoder<n>:SPI:CS 
:DECoder<n>:SPI:CS <cs> 
:DECoder<n>:SPI:CS? 
Set or query the CS channel source in SPI decoding. 
{D0|D1|D2|D3|D4|D5|D6|D7|D8| 
D9|D10|D11|D12|D13|D14|D15| 
CHANnel1|CHANnel2|CHANnel3|CHANnel4} 
This command is only valid in the CS mode (:DECoder<n>:SPI:MODE).   
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, 
D15, CHAN1, CHAN2, CHAN3, or CHAN4. 
:DECoder1:SPI:CS CHANnel4 /*Set the CS channel source in SPI decoding to CH4*/ 
:DECoder1:SPI:CS?                        /*The query returns CHAN4*/ 
 
 
:DECoder<n>:SPI:SELect 
:DECoder<n>:SPI:SELect <CsNcs> 
:DECoder<n>:SPI:SELect? 
Set or query the CS polarity in SPI decoding. 
  NCS: low level is valid ( ). The instrument starts transmitting data when the 
CS is low. 
  CS: high level is valid ( ). The instrument starts transmitting data when the 
CS is high. 
  This command is only valid in the CS mode (:DECoder<n>:SPI:MODE). 
The query returns NCS or CS. 
:DECoder1:SPI:SELect CS        /*Set the CS polarity to high level is valid*/ 
:DECoder1:SPI:SELect?            /*The query returns CS*/