RIGOL Chapter 2 Command System
2-202 MSO7000/DS7000 Programming Guide
:TRIGger:IIC:WHEN
:TRIGger:IIC:WHEN <when>
:TRIGger:IIC:WHEN?
Sets or queries the trigger condition of I2C trigger.
{STARt|RESTart|STOP|NACKnowledge|ADD
Ress|DATA|ADATa}
 STARt: indicates that the oscilloscope triggers when SCL is high level and SDA
transitions from high level to low level.
 RESTart: indicates that the oscilloscope triggers when another start condition
occurs before a stop condition.
 STOP: indicates that the oscilloscope triggers when SCL is high level and SDA
transitions from low level to high level.
 NACKnowledge: indicates missing acknowledgment. The oscilloscope triggers
when SDA is high level during the acknowledgment of the SCL bit.
 ADDRess: indicates that the oscilloscope searches for the specified address and
triggers on the read/write bit.
 DATA: indicates that the oscilloscope searches for the specified data on the data
line (SDA) and triggers on the clock line (SCL) of the jumping edge of the last bit
of the data.
 ADATa: indicates that the oscilloscope searches for the specified address and
data, and then triggers when both the address and data meet the conditions.
The query returns STAR, REST, NACK, REST, ADDR, DATA, or ADAT.
:TRIGger:IIC:WHEN RESTart /*Sets the trigger condition to Restart.*/
:TRIGger:IIC:WHEN? /*The query returns REST.*/
:TRIGger:IIC:AWIDth
:TRIGger:IIC:AWIDth <bits>
:TRIGger:IIC:AWIDth?
Sets or queries the address width of I2C trigger when the trigger condition is
"ADDRess" or "ADATa".
The query returns 7, 8, or 10.
:TRIGger:IIC:AWIDth 10 /*Sets the address width to 10.*/
:TRIGger:IIC:AWIDth? /*The query returns 10.*/