Instructions

RIGOL Chapter 2 Command System
2-206 MSO5000-E Programming Guide
:TRIGger:SPI:TIMeout
Syntax :TRIGger:SPI:TIMeout <time>
:TRIGger:SPI:TIMeout?
Description Sets or queries the timeout value when the trigger condition of SPI trigger is
"Timeout". The default unit is s.
Parameter
Name
Type
Range
Default
<time_value>
Real
8 ns to 10 s
1 μs
Return
Format
The query returns the timeout value in scientific notation.
Example
:TRIGger:SPI:TIMeout 0.001 /*Sets the timeout value to 1 ms.*/
:TRIGger:SPI:TIMeout? /*The query returns 1.000000E-3.*/
:TRIGger:SPI:SLOPe
Syntax :TRIGger:SPI:SLOPe <slope>
:TRIGger:SPI:SLOPe?
Description
Sets or queries the type of the clock edge of SPI trigger.
Parameter
Name
Type
Range
Default
<slope>
Discrete
{POSitive|NEGative}
POSitive
Remarks POSitive: samples the SDA data on the rising edge of the clock.
NEGative: samples the SDA data on the falling edge of the clock.
Return
Format
The query returns POS or NEG.
Example
:TRIGger:SPI:SLOPe POSitive /*Sets the clock edge to POSitive.*/
:TRIGger:SPI:SLOPe? /*The query returns POS.*/
:TRIGger:SPI:CLEVel
Syntax :TRIGger:SPI:CLEVel <level>
:TRIGger:SPI:CLEVel?
Description Sets or queries the trigger level of the clock channel of SPI trigger. The unit is the
same as that of the current amplitude.
Parameter
Name
Type
Range
Default
<level> Real
(-5 × VerticalScale - OFFSet) to
(6 × VerticalScale - OFFSet)
0 V
Remarks For VerticalScale, refer to the :CHANnel<n>:SCALe command; for OFFSet, refer to
the :CHANnel<n>:OFFSet command.
Return
Format
The query returns the trigger level in scientific notation.
Example
:TRIGger:SPI:CLEVel 0.16 /*Sets the trigger level to 160 mV.*/
:TRIGger:SPI:CLEVel? /*The query returns 1.600000E-1.*/