User manual

RIGOL Chapter 2 Command System
2-206 DS4000E Programming Guide
:TRIGger:IIC:SDA
Syntax
:TRIGger:IIC:SDA <source>
:TRIGger:IIC:SDA?
Description
Sets or queries the source channel of the data line of IIC trigger.
Parameter
Name
Type
Range
Default
<source>
Discrete
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
CHANnel2
Remarks
Channels that are not currently turned on can also be selected as the trigger source.
Return Format
The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:IIC:WHEN
Syntax
:TRIGger:IIC:WHEN <cond>
:TRIGger:IIC:WHEN?
Description
Sets or queries the trigger condition of IIC trigger.
Parameter
Name Type Range Default
<cond> Discrete
{STARt|RESTart|STOP|NACKnowledge|ADDRess|DATA|
ADATa}
STARt
Remarks
STARt: indicates that the oscilloscope triggers when the clock line is high level and the data line hops
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 the clock line is high level and the data line hops
from low level to high level.
NACKnowledge: indicates that the oscilloscope triggers when the data line is high level during the
acknowledgement of the clock line bit.
ADDRess: searches for the specified address, and then triggers on the acknowledgement of the clock
line bit.
DATA: searches for the specified data from the data line, and then triggers on the acknowledgement of
the clock line bit that follows the data value.
ADATa: indicates that the oscilloscope searches for the specified address and data, and then triggers
when both the address and data meet the conditions.
When <cond> is set to "ADDRess" or "ADATa", use the :TRIGger:IIC:ADDRess command to set the
address. When <cond> is set to "DATA" or "ADATa", use the :TRIGger:IIC:DATA command to set the
data.
Return Format
The query returns STAR, REST,STOP, NACK, ADDR, DATA, or ADAT.