Rigol MSO1000Z Series Programming Manual page 70

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

Advertisement

RIGOL
:DECoder<n>:SPI:POLarity
Syntax
:DECoder<n>:SPI:POLarity <pol>
:DECoder<n>:SPI:POLarity?
Description
Set or query the polarity of the SDA data line in SPI decoding.
Parameter
Name
<n>
<pol>
Explanation
NEGative:
POSitive:
Return
The query returns NEG or POS.
Format
Example
:DECoder1:SPI:POLarity NEG ative
:DECoder1:SPI:POLarity?
:DECoder<n>:SPI:EDGE
Syntax
:DECoder<n>:SPI:EDGE <edge>
:DECoder<n>:SPI:EDGE?
Description
Set or query the clock type when the instrument samples the data line in SPI decoding.
Parameter
Name
<n>
<edge>
Return
The query returns RISE or FALL.
Format
Example
:DECoder1:SPI:EDGE FALL
:DECoder1:SPI:EDGE?
:DECoder<n>:SPI:ENDian
Syntax
:DECoder<n>:SPI:ENDian <endian>
:DECoder<n>:SPI:ENDian?
Description
Set or query the endian of the SPI decoding data.
Parameter
Name
<n>
<endian>
Return
The query returns LSB or MSB.
Format
Example
:DECoder1:SPI:ENDian MSB
:DECoder1:SPI:ENDian?
2-54
Type
Range
Discrete
{1|2}
Discrete
{NEGative|POSitive}
. The low level is 1.
. The high level is 1.
Type
Range
Discrete
{1|2}
Discrete
{RISE|FALL}
/*Set the instrument to sample data on the falling edge
of the clock in SPI decoding*/
/*The query returns FALL*/
Type
Range
Discrete
{1|2}
Discrete
{LSB|MSB}
/*Set the data endian of the SPI decoding to MSB*/
/*The query returns MSB*/
/*Set the polarity of the SDA data line in SPI
decoding to negative*/
/*The query returns NEG*/
MSO1000Z/DS1000Z Programming Guide
Chapter 2 Command System
Default
--
POSitive
Default
--
RISE
Default
--
MSB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents