Rigol DS7034 User Programming Manual page 39

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 2 Command System
:BUS<n>:SPI:MOSI:SOURce
Syntax
:BUS<n>:SPI:MOSI:SOURce <source>
:BUS<n>:SPI:MOSI:SOURce?
Description
Sets or queries the MOSI data source of SPI decoding.
Parameter
Name
<n>
<source>
Return
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
Format
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
Example
:BUS1:SPI:MOSI:SOURce D0
:BUS1:SPI:MOSI:SOURce?
:BUS<n>:SPI:MOSI:POLarity
Syntax
:BUS<n>:SPI:MOSI:POLarity <polarity>
:BUS<n>:SPI:MOSI:POLarity?
Description
Sets or queries the polarity of MOSI data line of SPI decoding.
Parameter
Name
<n>
<polarity>
Remarks
High: indicates that low level is 1, and high level is 0.
Low: indicates that high level is 1, and low level is 0.
Return
The query returns HIGH or LOW.
Format
Example
:BUS1:SPI:MOSI:POLarity HIGH
:BUS1:SPI:MOSI:POLarity?
:BUS<n>:SPI:DBITs
Syntax
:BUS<n>:SPI:DBITs <width>
:BUS<n>:SPI:DBITs?
Description
Sets or queries the data width of SPI decoding.
Parameter
Name
<n>
<width>
Return
The query returns an integer ranging from 4 to 32.
Format
Example
:BUS1:SPI:DBITs 10
:BUS1:SPI:DBITs?
MSO7000/DS7000 Programming Guide
Type
Range
Discrete
{1|2|3|4}
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|
Discrete
D12|D13|D14|D15|CHANnel1|CHANnel2|CHANn
el3|CHANnel4|OFF}
/*Sets the MOSI data source of SPI decoding to D0.*/
/*The query returns D0.*/
Type
Range
Discrete
{1|2|3|4}
Discrete
{HIGH|LOW}
Type
Range
Discrete
{1|2|3|4}
Integer
4 to 32
/*Sets the data width of SPI decoding to 10.*/
/*The query returns 10.*/
/*Sets the polarity of MOSI data line to HIGH.*/
/*The query returns HIGH.*/
RIGOL
Default
——
OFF
Default
——
LOW
Default
——
8
2-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents