User manual
Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-21
:BUS<n>:IIC (Option)
The :BUS<n>:IIC commands are used to set relevant parameters for I2C decoding.
Command List:
:BUS<n>:IIC:SCLK:SOURce
:BUS<n>:IIC:SDA:SOURce
:BUS<n>:IIC:ADDRess
:BUS<n>:IIC:SCLK:SOURce
Syntax
:BUS<n>:IIC:SCLK:SOURce <source>
:BUS<n>:IIC:SCLK:SOURce?
Description
Sets or queries the clock source of I2C decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<source>
Discrete
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D1
1|D12|D13|D14|D15|CHANnel1|CHANnel2|C
HANnel3|CHANnel4}
CHANnel1
Return
Format
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.
Example
:BUS1:IIC:SCLK:SOURce D0 /*Sets the clock source of I2C decoding to D0.*/
:BUS1:IIC:SCLK:SOURce? /*The query returns D0.*/
:BUS<n>:IIC:SDA:SOURce
Syntax
:BUS<n>:IIC:SDA:SOURce <source>
:BUS<n>:IIC:SDA:SOURce?
Description
Sets or queries the data channel source of I2C decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<source>
Discrete
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D1
1|D12|D13|D14|D15|CHANnel1|CHANnel2|C
HANnel3|CHANnel4}
CHANnel1
Return
Format
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.
Example
:BUS1:IIC:SDA:SOURce D0 /*Sets the data channel source of I2C decoding to D0.*/
:BUS1:IIC:SDA:SOURce? /*The query returns D0.*/