Instructions
RIGOL Chapter 2 Command System
2-42 DS1000Z-E Programming Guide
:DECoder<n>:IIC
The :DECoder<n>:IIC commands are used to set the I2C decoding parameters.
Command List:
:DECoder<n>:IIC:CLK
:DECoder<n>:IIC:DATA
:DECoder<n>:IIC:ADDRess
:DECoder<n>:IIC:CLK
Syntax :DECoder<n>:IIC:CLK <clk>
:DECoder<n>:IIC:CLK?
Description Set or query the signal source of the clock channel in I2C decoding.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<clk> Discrete {CHANnel1|CHANnel2} CHANnel1
Return
Format
The query returns CHAN1 or CHAN2.
Example
:DECoder1:IIC:CLK CHANnel1 /*Set the signal source of the clock channel in I2C
decoding to CH1*/
:DECoder1:IIC:CLK? /*The query returns CHAN1*/
:DECoder<n>:IIC:DATA
Syntax :DECoder<n>:IIC:DATA <dat>
:DECoder<n>:IIC:DATA?
Description Set or query the signal source of the data channel in I2C decoding.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<dat> Discrete {CHANnel1|CHANnel2} CHANnel2
Return
Format
The query returns CHAN1 or CHAN2.
Example
:DECoder1:IIC:DATA CHANnel1 /*Set the signal source of the data channel in I2C
decoding to CH1*/
:DECoder1:IIC:DATA? /*The query returns CHAN1*/










