Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-209
:TRIGger:SPI:WHEN
:TRIGger:SPI:WHEN <when>
:TRIGger:SPI:WHEN?
Sets or queries the trigger condition of SPI trigger.
When the trigger condition is "TIMeout", you can run the :TRIGger:SPI:TIMeout
command to set the timeout value.
The query returns CS or TIM.
:TRIGger:SPI:WHEN TIMeout /*Sets the trigger condition to TIMeout.*/
:TRIGger:SPI:WHEN? /*The query returns TIM.*/
:TRIGger:SPI:WIDTh
:TRIGger:SPI:WIDTh <width>
:TRIGger:SPI:WIDTh?
Sets or queries the data width of data channel in SPI trigger.
The query returns an integer.
:TRIGger:SPI:WIDTh 10 /*Sets the data width to 10.*/
:TRIGger:SPI:WIDTh? /*The query returns 10.*/
:TRIGger:SPI:DATA
:TRIGger:SPI:DATA <data>
:TRIGger:SPI:DATA?
Sets or queries the data value of SPI trigger.
The range of the parameter <data> is related to the current data width. The available
maximum data width is 32. Therefore, the range of <data> is from 0 to 2
32
- 1.
The query returns an integer.
:TRIGger:SPI:DATA 5 /*Sets the data value to 5.*/
:TRIGger:SPI:DATA? /*The query returns 5.*/