RIGOL Chapter 2 Command System
2-212 MSO1000Z/DS1000Z Programming Guide
:TRIGger:SPI:DATA
:TRIGger:SPI:DATA <data>
:TRIGger:SPI:DATA?
Set or query the data in SPI trigger.
The range of <data> is related to the data bits. The maximum data bits is 32. Thus, the
range of <data> is from 0 to 2
32
-1.
The query returns an integer.
:TRIGger:SPI:DATA 5 /*Set the data to 5*/
:TRIGger:SPI:DATA? /*The query returns 5*/
:TRIGger:SPI:TIMeout
:TRIGger:SPI:TIMeout <time_value>
:TRIGger:SPI:TIMeout?
Set or query the timeout value when the trigger condition is TIMeout in SPI trigger. The
default unit is s.
The query returns the timeout value in scientific notation.
:TRIGger:SPI:TIMeout 0.001 /*Set the timeout value to 1ms*/
:TRIGger:SPI:TIMeout? /*The query returns 1.000000e-03*/
:TRIGger:SPI:SLOPe
:TRIGger:SPI:SLOPe <slope>
:TRIGger:SPI:SLOPe?
Set or query the clock edge in SPI trigger.
POSitive: sample the SDA data on the rising edge of the clock.
NEGative: sample the SDA data on the falling edge of the clock.
The query returns POS or NEG.
:TRIGger:SPI:SLOPe POSitive /*Set the clock edge to POSitive*/
:TRIGger:SPI:SLOPe? /*The query returns POS*/