beautypg.com

Chapter four, Maximum, Mean – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 237

background image

Chapter Four

Control Reference

String containing the MATLAB code to execute when new data is presented.

MATLABCode

Any number of characters

String

Range

Description

If true, the result of the MATLAB processing operation is plotted by MATLAB, in a floating window.

MATLABPlot

Bool

Description

MATLABCode

String

MATLABPlot

Bool

MAXIMUM

app.Measure.Px.Operator (ParamEngine = "Maximum")

Calculates the maximum vertical value of the waveform

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
app.Measure.P1.ParamEngine = "Maximum"

Example

MEAN

app.Measure.Px.Operator (ParamEngine = "Mean")

Calculates the mean value of the input waveform's vertical values. When Cyclic = true, the range of values used is
limited to a whole number of cycles.

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set parameter P1 to mean.
app.Measure.P1.ParamEngine = "Mean"
' Set the mean parameter for cyclic measurements.
app.Measure.P1.Operator.Cyclic = true

Example

Sets/Queries whether the mean parameter Px is to be measured over a number of complete cycles.

Cyclic

Bool

Description

Cyclic

Bool

4-33

916435 RevA