Rigol MSO1000Z Series Programming Manual page 228

Digital oscilloscope
Hide thumbs Also See for MSO1000Z Series:
Table of Contents

Advertisement

RIGOL
:TRIGger:SPI:DATA
Syntax
:TRIGger:SPI:DATA <data>
:TRIGger:SPI:DATA?
Description
Set or query the data in SPI trigger.
Parameter
Name
<data>
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
Return
The query returns an integer.
Format
Example
:TRIGger:SPI:DATA 5
:TRIGger:SPI:DATA?
Related
:TRIGger:SPI:WIDTh
Command
: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
<time_value>
Return
The query returns the timeout value in scientific notation.
Format
Example
:TRIGger:SPI:TIMeout 0.001
:TRIGger:SPI:TIMeout?
Related
:TRIGger:SPI:WHEN
Command
:TRIGger:SPI:SLOPe
Syntax
:TRIGger:SPI:SLOPe <slope>
:TRIGger:SPI:SLOPe?
Description
Set or query the clock edge in SPI trigger.
Parameter
Name
<slope>
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
The query returns POS or NEG.
Format
Example
:TRIGger:SPI:SLOPe POSitive
:TRIGger:SPI:SLOPe?
2-212
Type
Range
32
Integer
0 to 2
-1
32
-1.
/*Set the data to 5*/
/*The query returns 5*/
Type
Range
Real
100ns to 1s
/*Set the timeout value to 1ms*/
/*The query returns 1.000000e-03*/
Type
Range
Discrete
{POSitive|NEGative}
/*Set the clock edge to POSitive*/
/*The query returns POS*/
Chapter 2 Command System
MSO1000Z/DS1000Z Programming Guide
Default
82
Default
1μs
Default
POSitive

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents