Chapter four, Median, Minimum – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 238: Npoints
Chapter Four
Control Reference
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set parameter P2 to mean.
app.Measure.P2.ParamEngine = "Mean"
' Set the mean parameter for cyclic measurements.
app.Measure.P2.ParamEngine.Cyclic = True
Example
MEDIAN
app.Measure.Px.Operator (ParamEngine = "Median")
Calculates the median (division between two halves) of the probability distribution of an input waveform. For periodic
signals it is advisable to use Cyclic = true.
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
app.Measure.P1.ParamEngine = "Median"
' Set the measurement for a periodic signal
app.Measure.P1.Operator.Cyclic = true
Example
Sets/Queries whether the median parameter Px is to be measured over a number of complete cycles.
Cyclic
Bool
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set parameter P2 to median.
app.Measure.P2.ParamEngine = "Median"
' Set the median parameter for cyclic measurements.
app.Measure.P2.Operator.Cyclic = True
Example
Description
Cyclic
Bool
MINIMUM
app.Measure.Px.Operator (ParamEngine = "Minimum")
Calculates the minimum value of a waveform
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
app.Measure.P1.ParamEngine = "Minimum"
Example
NPOINTS
app.Measure.Px.Operator (ParamEngine = "npoints")
916435 RevA
4-34