EasyManua.ls Logo

Rigol DS1104Z Plus

Rigol DS1104Z Plus
260 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RIGOL Chapter 2 Command System
2-212 MSO1000Z/DS1000Z Programming Guide
: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
-1
82
Explanation
The range of <data> is related to the data bits. The maximum data bits 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*/
:TRIGger:SPI:DATA? /*The query returns 5*/
Related
Command
:TRIGger:SPI:WIDTh
:TRIGger:SPI:TIMeout
Syntax
:TRIGger:SPI:TIMeout <time_value>
:TRIGger:SPI:TIMeout?
Description
Set or query the timeout value when the trigger condition is TIMeout in SPI trigger. The
default unit is s.
Parameter
Name
Type
Range
Default
<time_value>
Real
100ns to 1s
1μs
Return
Format
The query returns the timeout value in scientific notation.
Example
:TRIGger:SPI:TIMeout 0.001 /*Set the timeout value to 1ms*/
:TRIGger:SPI:TIMeout? /*The query returns 1.000000e-03*/
Related
Command
:TRIGger:SPI:WHEN
:TRIGger:SPI:SLOPe
Syntax
:TRIGger:SPI:SLOPe <slope>
:TRIGger:SPI:SLOPe?
Description
Set or query the clock edge in SPI trigger.
Parameter
Name
Type
Range
Default
<slope>
Discrete
{POSitive|NEGative}
POSitive
Explanation
POSitive: sample the SDA data on the rising edge of the clock.
NEGative: sample the SDA data on the falling edge of the clock.
Return
Format
The query returns POS or NEG.
Example
:TRIGger:SPI:SLOPe POSitive /*Set the clock edge to POSitive*/
:TRIGger:SPI:SLOPe? /*The query returns POS*/

Table of Contents

Other manuals for Rigol DS1104Z Plus

Related product manuals