20.01.2015 Views

Programming Guide DS2000 Series Digital Oscilloscope

Programming Guide DS2000 Series Digital Oscilloscope

Programming Guide DS2000 Series Digital Oscilloscope

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RIGOL<br />

2 Command System<br />

:TRIGger:IIC:WHEN<br />

Syntax<br />

:TRIGger:IIC:WHEN <br />

:TRIGger:IIC:WHEN<br />

Description<br />

Set the trigger condition of IIC trigger.<br />

Query the current trigger condition of IIC trigger.<br />

Parameter<br />

Name Type Range Default<br />

Discrete<br />

{STARt|RESTart|STOP|NACKnowled<br />

ge |ADDRess|DATA|ADATa}<br />

STARt<br />

Explanation<br />

STARt: trigger when SDA data transitions from high to low while SCL is high.<br />

RESTart: trigger when another start condition occurs before a stop condition.<br />

STOP: trigger when SDA data transitions from low to high while SCL is high.<br />

NACKnowledge: trigger when the SDA data is high during any acknowledgement of<br />

SCL clock position.<br />

ADDRess: trigger on the clock (SCL) edge corresponding to the byte of data (SDA)<br />

behind the preset address (Write, Read or R/W direction).<br />

DATA: the trigger searches for the control byte value on the data line (SDA) following<br />

which there is a reading bit and an acknowledgement bit and then searches for the<br />

specified data value.<br />

ADATa: trigger when the “Address” and “Data” conditions are met at the same time.<br />

Return Format<br />

The query returns STAR, STOP, NACK, REST, ADDR, DATA or ADAT.<br />

Example<br />

:TRIGger:IIC:WHEN RESTart<br />

The query returns REST.<br />

2-524 <strong>DS2000</strong> <strong>Programming</strong> <strong>Guide</strong><br />

2-524

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!