Rigol MSO1000Z Series Programming Manual page 224

Digital oscilloscope
Hide thumbs Also See for MSO1000Z Series:
Table of Contents

Advertisement

RIGOL
: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
<adr>
Explanation
In the expression 2
Return Format
The query returns an integer.
Example
:TRIGger:IIC:ADDRess 100
:TRIGger:IIC:ADDRess?
Related
:TRIGger:IIC:AWIDth
Command
: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
<dir>
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
:TRIGger:IIC:DIRection?
Related
:TRIGger:IIC:AWIDth
Command
: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
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
Return Format
The query returns an integer.
Example
:TRIGger:IIC:DATA 64
:TRIGger:IIC:DATA?
Related
:TRIGger:IIC:WHEN
Command
2-208
Type
Integer
n
-1, n is the current address bits.
Type
Discrete
Name
Type
<data>
Integer
Range
n
0 to 2
-1: 0 to 127, 0 to 255, or 0 to 1023
/*Set the address to 100*/
/*The query returns 100*/
Range
{READ|WRITe|RWRite}
/*Set the data direction to read/write*/
/*The query returns RWR*/
Range
40
0 to 2
-1
/*Set the data to 64*/
/*The query returns 64*/
Chapter 2 Command System
40
-1.
MSO1000Z/DS1000Z Programming Guide
Default
1
Default
READ
Default
82

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents