RIGOL
DS4000E Programming Guide
2-229
:TRIGger:SPI:SLEVel
Syntax
:TRIGger:SPI:SLEVel <level>
:TRIGger:SPI:SLEVel?
Description
Sets or queries the trigger level of the CS signal of SPI trigger when the trigger condition is "CS" (refer to
the :TRIGger:SPI:WHEN command). The unit is the same as the current amplitude unit of the source
channel.
Parameter
Name
Type
Range
Default
<level>
Real
The range of <level> is from (-6 x VerticalScale - Offset)
to (6 x VerticalScale - Offset) (relative to the vertical
center of the screen).
Wherein, VerticalScale is the vertical scale of the CS line
source channel, refer to the :CHANnel<n>:SCALe
command; Offset is the vertical position of the CS line
source channel, refer to the :CHANnel<n>:OFFSet
command.
0
Return Format
The query returns the trigger level in scientific notation.
:TRIGger:SPI:SLOPe
Syntax
:TRIGger:SPI:SLOPe <slope>
:TRIGger:SPI:SLOPe?
Description
Sets or queries the edge type of the clock signal of SPI trigger.
Parameter
Name
Type
Range
Default
<slope>
Discrete
{POSitive|NEGative}
POSitive
Remarks
POSitive: samples the data signal (refer to the :TRIGger:SPI:SDA command) on the rising edge of the
clock signal.
NEGative: samples the data signal (refer to the :TRIGger:SPI:SDA command) on the falling edge of the
clock signal.
Return Format
The query returns POS or NEG.