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...
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

Related product manuals