Rigol MSO1000Z Series Programming Manual page 69

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

Advertisement

Chapter 2 Command System
:DECoder<n>:SPI:MODE
Syntax
:DECoder<n>:SPI:MODE <CsTmo>
:DECoder<n>:SPI:MODE?
Description
Set or query the frame synchronization mode of SPI decoding.
Parameter
Name
<n>
<CsTmo>
Explanation
CS: it contains a chip select line (CS). You can perform frame synchronization
according to CS. At this point, you need to send the
and
TIMeout: you can perform frame synchronization according to the timeout time. At
this point, you need to send the
timeout time.
Return
The query returns CS or TIM.
Format
Example
:DECoder1:SPI:MODE CS /*Set the frame synchronization mode of SPI decoding to
:DECoder1:SPI:MODE?
:DECoder<n>:SPI:TIMeout
Syntax
:DECoder<n>:SPI:TIMeout <tmo>
:DECoder<n>:SPI:TIMeout?
Description
Set or query the timeout time in the timeout mode of SPI decoding. The default unit is s.
Parameter
Name
<n>
<tmo>
Explanation
The timeout time should be greater than the maximum pulse width of the clock and
lower than the idle time between frames.
This command is only valid in the timeout mode (:DECoder<n>:SPI:MODE).
Return
The query returns the timeout time in scientific notation.
Format
Example
:DECoder1:SPI:TIMeout 0.000005
:DECoder1:SPI:TIMeout?
MSO1000Z/DS1000Z Programming Guide
Type
Range
Discrete
{1|2}
Discrete
{CS|TIMeout}
:DECoder<n>:SPI:SELect
CS*/
/*The query returns CS*/
Type
Range
Discrete
{1|2}
Real
Refer to
commands to set the CS channel source and polarity.
:DECoder<n>:SPI:TIMeout
Explanation
/*Set the timeout time to 5us*/
/*The query returns 5.000000e-06*/
Default
--
TIMeout
:DECoder<n>:SPI:CS
command to set the
Default
--
1.00us
RIGOL
2-53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents