Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-211
:TRIGger:SPI:SDA
:TRIGger:SPI:SDA <source>
:TRIGger:SPI:SDA?
Set or query the channel source of SDA in SPI trigger.
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4}
When one or more of channels D0 to D7 is turned on, CH4 cannot be selected; when one
or more of D8 to D15 is turned on, CH3 cannot be selected.
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:SPI:SDA CHANnel2 /*Set the channel source of SDA to CH2*/
:TRIGger:SPI:SDA? /*The query returns CHAN2*/
:TRIGger:SPI:WHEN
:TRIGger:SPI:WHEN <trig_type>
:TRIGger:SPI:WHEN?
Set or query the trigger condition in SPI trigger.
When the trigger condition is set to TIMeout, you can use the :TRIGger:SPI:TIMeout
command to set the timeout value.
The query returns CS or TIM.
:TRIGger:SPI:WHEN TIMeout /*Set the trigger condition to TIMeout*/
:TRIGger:SPI:WHEN? /*The query returns TIM*/
:TRIGger:SPI:WIDTh
:TRIGger:SPI:WIDTh <width>
:TRIGger:SPI:WIDTh?
Set or query the data bits of the SDA channel in SPI trigger.
The query returns an integer.
:TRIGger:SPI:WIDTh 10 /*Set the data bits of the SDA channel to 10*/
:TRIGger:SPI:WIDTh? /*The query returns 10*/