EasyManua.ls Logo

Rigol DS1104Z Plus

Rigol DS1104Z Plus
260 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
Loading...
RIGOL Chapter 2 Command System
2-208 MSO1000Z/DS1000Z Programming Guide
:TRIGger:IIC:ADDRess
Syntax
:TRIGger:IIC:ADDRess <adr>
:TRIGger:IIC:ADDRess?
Description
Set or query the address when the trigger condition is ADDRess or ADATa in I2C
trigger.
Parameter
Name
Type
Range
Default
<adr>
Integer
0 to 2
n
-1: 0 to 127, 0 to 255, or 0 to 1023
1
Explanation
In the expression 2
n
-1, n is the current address bits.
Return Format
The query returns an integer.
Example
:TRIGger:IIC:ADDRess 100 /*Set the address to 100*/
:TRIGger:IIC:ADDRess? /*The query returns 100*/
Related
Command
:TRIGger:IIC:AWIDth
:TRIGger:IIC:DIRection
Syntax
:TRIGger:IIC:DIRection <dir>
:TRIGger:IIC:DIRection?
Description
Set or query the data direction when the trigger condition is ADDRess or ADATa in I2C
trigger.
Parameter
Name
Type
Range
Default
<dir>
Discrete
{READ|WRITe|RWRite}
READ
Explanation
This command is invalid when the address bits is 8.
Return Format
The query returns READ, WRIT, or RWR.
Example
:TRIGger:IIC:DIRection RWRite /*Set the data direction to read/write*/
:TRIGger:IIC:DIRection? /*The query returns RWR*/
Related
Command
:TRIGger:IIC:AWIDth
:TRIGger:IIC:DATA
Syntax
:TRIGger:IIC:DATA <data>
:TRIGger:IIC:DATA?
Description
Set or query the data when the trigger condition is DATA or ADATa in I2C trigger.
Parameter
Name
Type
Range
Default
<data>
Integer
0 to 2
40
-1
82
Explanation
The range of <data> is related to the byte length. The maximum byte length is 5,
namely 40 bit binary data. Thus, the range of <data> is from 0 to 2
40
-1.
Return Format
The query returns an integer.
Example
:TRIGger:IIC:DATA 64 /*Set the data to 64*/
:TRIGger:IIC:DATA? /*The query returns 64*/
Related
Command
:TRIGger:IIC:WHEN

Table of Contents

Other manuals for Rigol DS1104Z Plus

Related product manuals