Rigol MSO1074Z-S 4-channel oscilloscope, Digital Storage oscilloscope, MSO1074Z-S 用户手册

产品代码
MSO1074Z-S
下载
页码 172
RIGOL 
DS1000Z Programming Guide 
2-129
 
:TRIGger:SPI:WHEN 
Syntax 
:TRIGger:SPI:WHEN <trig_type> 
:TRIGger:SPI:WHEN? 
Description 
Set or query the trigger condition in SPI trigger. 
Parameter 
Name 
Type 
Range 
Default 
<trig_type> 
Discrete 
{CS|TIMeout} 
CS 
 
Explanation 
When the trigger condition is set to TIMeout, you can use the 
command to set the timeout value.   
Return 
Format 
The query returns CS or TIM.   
Example 
:TRIGger:SPI:WHEN TIMeout    /*Set the trigger condition to TIMeout*/ 
Related 
Command 
 
 
:TRIGger:SPI:WIDTh 
Syntax 
:TRIGger:SPI:WIDTh <width> 
:TRIGger:SPI:WIDTh? 
Description 
Set or query the data bits of the SDA channel in SPI trigger. 
Parameter 
Name 
Type 
Range 
Default 
<width> 
Integer 
4 to 32 
 
Return 
Format 
The query returns an integer.   
Example 
:TRIGger:SPI:WIDTh 10  /*Set the data bits of the SDA channel to 10*/ 
Related 
Command 
 
 
:TRIGger:SPI:DATA 
Syntax 
:TRIGger:SPI:DATA <data> 
:TRIGger:SPI:DATA? 
Description 
Set or query the data in SPI trigger.
 
Parameter 
Name 
Type 
Range 
Default 
<data> 
Integer 
0 to 2
32
 
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 
Format 
The query returns an integer.   
Example 
:TRIGger:SPI:DATA 5   /*Set the data to 5*/ 
Related 
Command