UNI-T MSO/UPO2000 Series Programming Manual page 88

Digital phosphor oscilloscope
Table of Contents

Advertisement

Programming Manual
:SBUS:I2C:DATA
Command format:
:SBUS:I2C:DATA <value>
:SBUS:I2C:DATA?
Functional description:
This command is used to set I2C bus data. Binary character string data presented by parameter is 0 , 1 or X.
X represents it is unsure. And its rang is related to the value set by instruction setting value
*8bits :SBUS:I2C:DATA:LEN , the rang is 0x0~0xFFFFFFFFFFFFFFFF.
Return format:
Query returns binary character string data.
For example:
:SBUS:I2C:DATA "X00X00X1"
:SBUS:I2C:DATA?
:SBUS:I2C:QUALifier
Command format:
:SBUS:I2C:QUALifier {STARt | RESTart | STOP | LOSS | ADDRess | DATA | ADATA}
:SBUS:I2C:QUALifier?
Functional description:
This command is used to set I2C bus trigger condition of the oscilloscope.
Return format:
Query returns {STARt | RESTart | STOP | LOSS | ADDRess | DATA | ADATA}.
For example:
:SBUS:I2C:QUALifier STOP
:SBUS:I2C:QUALifier?
SPI
:SBUS:SPI:CS:SOURce
Command format:
:SBUS:SPI:CS:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}
:SBUS:SPI:CS:SOURce?
Functional description:
This command is used to set SPI bus chip selection 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:SPI:CS:SOURce CHANnel1
Instruments.uni-trend.com
Set I2C bus data to X00X00X1.
Query returns X00X00X1.
Set I2C bus trigger to STOP.
Query returns STOP.
Set channel 1 as SPI bus chip selection source.
MSO/UPO2000 Series
88 / 156

Advertisement

Table of Contents
loading

Table of Contents