RIGOL  2 Command System 
2-38  MSO2000A/DS2000A Programming Guide 
:BUS<n>:SPI:SDA:SOURce 
 
Syntax 
:BUS<n>:SPI:SDA:SOURce <sour> 
:BUS<n>:SPI:SDA:SOURce? 
 
Description 
Set or query the data channel source of SPI decoding on the specified bus. 
 
Parameter 
Name  Type  Range  Default 
<n>  Discrete  {1|2}  -- 
<sour>  Discrete 
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| 
D11|D12|D13|D14|D15|CHANnel1|CHANnel2} 
CHANnel2 
 
Return Format 
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1 or 
CHAN2. 
 
 
:BUS<n>:SPI:SDA:POLarity 
 
Syntax 
:BUS<n>:SPI:SDA:POLarity <pos> 
:BUS<n>:SPI:SDA:POLarity? 
 
Description 
Set or query the polarity of the SDA data line in SPI decoding on the specified bus. 
 
Parameter 
Name  Type  Range  Default 
<n>  Discrete  {1|2}  -- 
<pos>  Discrete  {HIGH|LOW}  LOW 
 
Explanation 
HIGH: low level is 1; high level is 0. LOW: high level is 1; low level is 0. 
 
Return Format 
The query returns HIGH or LOW.