beautypg.com

Operator’s manual – Teledyne LeCroy WaveExpert 100H Operators Manual User Manual

Page 264

background image

Operator’s Manual

262

WE-OM-E Rev A

Gated Parameter Using Excel (Excel Example 2)

This example calculates a parameter of a waveform, in a region of interest defined by the leading
edges of two pulses in a separate waveform.

This figure shows the instrument screen:

The traces were made using VBS scripts in functions F1 and F2, based on pseudo-random
numbers to provide noise and varying pulse widths. Randomize Timer: Randomize Timer was used
in both scripts to ensure that successive acquisitions produced different data. Script F1 generates
pulses with widths that are multiples of a set clock period. F2 generates one pulse in the first half of
the time window, and one pulse in the second half. Both pulses are constrained to coincide with the
clock pulses of F1. F1 and F2 are used here only as simulations and are not part of the
measurement process, which only uses P1.

The call to Excel is made through Parameter P1.

The next figure shows a part of the Excel workbook.