Set up math on parameters, Using scripts – Teledyne LeCroy HDO6000 Operators Manual User Manual
Page 73
Operator's Manual
l
delta clock-to-data near (DC2D)
l
delta clock-to-data next (DC2DPOS)
l
delta clock-to-data previous (DC2DNEG)
l
delta delay (DDLY)
l
delta time at level (DTLEV)
l
phase (PHASE)
l
resolution (RES)
l
mTnTmT shift (BEES)
l
mTnTmT shift sigma (BEESS)
l
mTnTmT shift sigma – list (BEESS)
Set Up Math on Parameters
1. Touch Measure → Measure Setup... on the menu bar.
2. Choose Measure Mode My Measure.
3. Touch output Px tab or button to display the parameter setup dialog.
4. Touch the Math on Parameters button.
5. Touch Math Operator and select a math operation from the Select Measurement menu.
If you select an operation that requires two input parameters, the Source1 field will expand to two
fields.
6. Touch Source1 and Source2 and select two input parameters (P1 to P8) other than the parameter you
are now setting up.
To apply math to a single parameter (for example, Invert), just select it in Source1.
7. Check On to enable the new output parameter and add it to the display.
Using Scripts
In addition to the arithmetic operations, you can write your own VBScript or JavaScript to apply to one or
two measurement parameters. When setting up the output parameter, choose the Math Operator P Script.
Scripting can be done in the Script Editor window directly on the instrument, or you can import an existing
script.
P
ARAM
S
CRIPT
V
S
. P S
CRIPT
Param Script is a VBScript or JavaScript that operates on one or two waveforms and outputs a parameter
measurement, as shown in the figure below. P Script, on the other hand, is another VBScript or JavaScript
that takes as input one or two parameters and performs a math operation on them to produce another
parameter output.
The inputs to Param Script can also be math (Fx) or memory (Mx) traces. The inputs to P Script can be
the results of any parameter measurement, not necessarily Param Script.
922499 Rev B
65