EasyManuals Logo
Home>Rigol>Test Equipment>DS7024

Rigol DS7024 User Programming Manual

Rigol DS7024
259 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #217 background imageLoading...
Page #217 background image
Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-203
: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
Type
Range
Default
<adr>
Integer
0 to 2
n
- 1: 0 to 127, 0 to 255, or 0 to 1,023
0
Remarks
In the expression 2
n
-1, n indicates the current address width.
Return Format
The query returns an integer.
Example
:TRIGger:IIC:ADDRess 100 /*Sets the address to 100.*/
:TRIGger:IIC:ADDRess? /*The query returns 100.*/
: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
Type
Range
Default
<dir>
Discrete
{READ|WRITe|RWRite}
WRITe
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 /*Sets the data direction to RWRite.*/
:TRIGger:IIC:DIRection? /*The query returns RWR.*/
: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
Type
Range
Default
<data>
Integer
0 to 2
40
- 1
0
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
40
- 1.
Return Format
The query returns an integer.
Example
:TRIGger:IIC:DATA 64 /*Sets the data value to 64.*/
:TRIGger:IIC:DATA? /*The query returns 64.*/

Table of Contents

Other manuals for Rigol DS7024

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DS7024 and is the answer not in the manual?

Rigol DS7024 Specifications

General IconGeneral
BrandRigol
ModelDS7024
CategoryTest Equipment
LanguageEnglish

Related product manuals