
Chapter 2 Command System RIGOL
DS1000Z Programming Guide 2-129
:TRIGger:SPI:WHEN
Syntax :TRIGger:SPI:WHEN <trig_type>
Set or query the trigger condition in SPI trigger.
Parameter
<trig_type> Discrete {CS|TIMeout} CS
Explanation When the trigger condition is set to TIMeout, you can use the :TRIGger:SPI:TIMeout
command to set the timeout value.
Return
The query returns CS or TIM.
:TRIGger:SPI:WHEN TIMeout /*Set the trigger condition to TIMeout*/
Related
:TRIGger:SPI:TIMeout
:TRIGger:SPI:WIDTh
Syntax :TRIGger:SPI:WIDTh <width>
Set or query the data bits of the SDA channel in SPI trigger.
Parameter
Return
The query returns an integer.
:TRIGger:SPI:WIDTh 10 /*Set the data bits of the SDA channel to 10*/
Related
:TRIGger:SPI:DATA
:TRIGger:SPI:DATA
Syntax :TRIGger:SPI:DATA <data>
Set or query the data in SPI trigger.
Parameter
<data> Integer
0 to 2
32
-1
0
Explanation The range of <data> is related to the data bits which maximum is 32. Thus, the range of
<data> is from 0 to 2
32
-1.
Return
The query returns an integer.
:TRIGger:SPI:DATA 5 /*Set the data to 5*/
Related
:TRIGger:SPI:WIDTh
Kommentare zu diesen Handbüchern