EasyManuals Logo
Home>Rigol>Test Equipment>DS1104Z Plus

Rigol DS1104Z Plus Programming Guide

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
Page #223 background imageLoading...
Page #223 background image
Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-207
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition in I2C trigger.
Parameter
Name
Type
Range
Default
<trig_type>
Discrete
{STARt|RESTart|STOP|NACKnowledge|
ADDRess|DATA|ADATa}
STARt
Explanation
 STARt: trigger when the SDA data transitions from high to low while the SCL is
high.
 RESTart: trigger when another start condition occurs before a stop condition.
 STOP: trigger when the SDA data transitions from low to high while the SCL is
high.
 NACKnowledge: trigger when the SDA data is high during any acknowledgement
of the SCL clock position.
 ADDRess: search for the specified address value and trigger on the read/write
bit.
 DATA: search for the specified data value on the data line (SDA) and trigger on
the jump edge of the clock line (SCL) corresponding to the last bit of the data.
 ADATa:search for the specified address value and data value at the same time
and trigger when the "Address" and "Data" conditions are met at the same time.
Return Format
The query returns STAR, STOP, NACK, REST, ADDR, DATA, or ADAT.
Example
:TRIGger:IIC:WHEN RESTart /*Set the trigger condition to restart*/
:TRIGger:IIC:WHEN? /*The query returns REST*/
:TRIGger:IIC:AWIDth
Syntax
:TRIGger:IIC:AWIDth <bits>
:TRIGger:IIC:AWIDth?
Description
Set or query the address bits when the trigger condition is ADDRess or ADATa in
I2C trigger.
Parameter
Name
Type
Range
Default
<bits>
Discrete
{7|8|10}
7
Return Format
The query returns 7, 8, or 10.
Example
:TRIGger:IIC:AWIDth 10 /*Set the address bits to 10*/
:TRIGger:IIC:AWIDth? /*The query returns 10*/
Related
Commands
:TRIGger:IIC:DIRection
:TRIGger:IIC:ADDRess

Table of Contents

Other manuals for Rigol DS1104Z Plus

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol DS1104Z Plus Specifications

General IconGeneral
BrandRigol
ModelDS1104Z Plus
CategoryTest Equipment
LanguageEnglish

Related product manuals