UNI-T MSO/UPO2000 Series Programming Manual page 86

Digital phosphor oscilloscope
Table of Contents

Advertisement

Programming Manual
I2C
:SBUS:I2C:CLOCk:SOURce
Command format:
:SBUS:I2C:CLOCk:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}
:SBUS:I2C:CLOCk:SOURce?
Functional description:
This command is used to set I2C bus clock source of the oscilloscope.
<Dx>: It presents the oscilloscope has LA function and it can set D0-D15 channel as the bus decoding source.
Return format:
Query returns {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}.
For example:
:SBUS:I2C:CLOCk:SOURce CHANnel1
:SBUS:I2C:CLOCk:SOURce?
:SBUS:I2C:DATA:SOURce
Command format:
:SBUS:I2C:DATA:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}
:SBUS:I2C:DATA:SOURce?
Functional description:
This command is used to set I2C bus data source of the oscilloscope.
<Dx>: It presents the oscilloscope has LA function and it can set D0-D15 channel as the bus decoding source.
Return format:
Query returns {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}.
For example:
:SBUS:I2C:DATA:SOURce CHANnel1
:SBUS:I2C:DATA:SOURce?
:SBUS:I2C:ASIZe
Command format:
:SBUS:I2C:ASIZe {7 | 10}
:SBUS:I2C:ASIZe?
Functional description:
This command is used to set I2C bus address bit wide of the oscilloscope.
Return format:
Query returns {7 | 10}.
For example:
:SBUS:I2C:ASIZe 7
:SBUS:I2C:ASIZe?
Instruments.uni-trend.com
Set channel 1 as I2C bus clock source.
Query returns CHANnel1.
Set channel 1 as I2C bus clock source.
Query returns CHANnel1.
Set I2C bus address bit wide to 7.
Query returns 7.
MSO/UPO2000 Series
86 / 156

Advertisement

Table of Contents
loading

Table of Contents