Instructions
RIGOL Chapter 2 Command System
2-48 DS1000Z-E Programming Guide
: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 Type Range Default
<n>
Discrete
{1|2}
--
<endian> Discrete {LSB|MSB} MSB
Return
Format
The query returns LSB or MSB.
Example
:DECoder1:SPI:ENDian MSB /*Set the data endian of the SPI decoding to MSB*/
:DECoder1:SPI:ENDian? /*The query returns MSB*/
:DECoder<n>:SPI:WIDTh
Syntax :DECoder<n>:SPI:WIDTh <wid>
:DECoder<n>:SPI:WIDTh?
Description
Set or query the number of bits of each frame of data in SPI decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<wid>
Integer
8 to 32
8
Return
Format
The query returns an integer between 8 and 32.
Example
:DECoder1:SPI:WIDTh 16 /*Set the data width in SPI decoding to 16*/
:DECoder1:SPI:WIDTh? /*The query returns 16*/










