Rigol DS7034 User Programming Manual page 217

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

Advertisement

Chapter 2 Command System
:TRIGger:IIC:ADDRess
Syntax
:TRIGger:IIC:ADDRess <address>
:TRIGger:IIC:ADDRess?
Description
Sets or queries the address of I2C trigger when the trigger condition is "ADDRess"
or "ADATa".
Parameter
Name
<adr>
Remarks
In the expression 2
Return Format
The query returns an integer.
Example
:TRIGger:IIC:ADDRess 100
:TRIGger:IIC:ADDRess?
:TRIGger:IIC:DIRection
Syntax
:TRIGger:IIC:DIRection <direction>
:TRIGger:IIC:DIRection?
Description
Sets or queries the data direction of I2C trigger when the trigger condition is
"ADDRess" or "ADATa".
Parameter
Name
<dir>
Remarks
This command is unavailable when the address width is set to 8.
Return Format
The query returns READ, WRIT, or RWR.
Example
:TRIGger:IIC:DIRection RWRite
:TRIGger:IIC:DIRection?
:TRIGger:IIC:DATA
Syntax
:TRIGger:IIC:DATA <data>
:TRIGger:IIC:DATA?
Description
Sets or queries the data value of I2C trigger when the trigger condition is "DATA"
or "ADATa".
Parameter
Name
<data>
Remarks
The settable range of <data> is affected by the byte length. The maximum byte
length can be set to 5, i.g. 40-bit binary data. Therefore, the range of <data> is
from 0 to 2
Return Format
The query returns an integer.
Example
:TRIGger:IIC:DATA 64
:TRIGger:IIC:DATA?
MSO7000/DS7000 Programming Guide
Type
Range
n
Integer
0 to 2
- 1: 0 to 127, 0 to 255, or 0 to 1,023
n
-1, n indicates the current address width.
/*Sets the address to 100.*/
/*The query returns 100.*/
Type
Range
Discrete
{READ|WRITe|RWRite}
Type
Range
40
Integer
0 to 2
- 1
40
- 1.
/*Sets the data value to 64.*/
/*The query returns 64.*/
/*Sets the data direction to RWRite.*/
/*The query returns RWR.*/
RIGOL
Default
0
Default
WRITe
Default
0
2-203

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents