Rigol MSO1000Z Series Programming Manual page 223

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

Advertisement

Chapter 2 Command System
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <trig_type>
:TRIGger:IIC:WHEN?
Description
Set or query the trigger condition in I2C trigger.
Parameter
Name
<trig_type>
Explanation
Return Format
The query returns STAR, STOP, NACK, REST, ADDR, DATA, or ADAT.
Example
:TRIGger:IIC:WHEN RESTart
:TRIGger:IIC:WHEN?
: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
Return Format
The query returns 7, 8, or 10.
Example
:TRIGger:IIC:AWIDth 10
:TRIGger:IIC:AWIDth?
Related
:TRIGger:IIC:DIRection
Commands
:TRIGger:IIC:ADDRess
MSO1000Z/DS1000Z Programming Guide
Type
Discrete
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.
Name
Type
<bits>
Discrete
Range
{STARt|RESTart|STOP|NACKnowledge|
ADDRess|DATA|ADATa}
/*Set the trigger condition to restart*/
/*The query returns REST*/
Range
{7|8|10}
/*Set the address bits to 10*/
/*The query returns 10*/
RIGOL
Default
STARt
Default
7
2-207

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents