Mean, Numframedimensions, Numsamplesinframe – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 54: Offsetatleftedge
A
BOUT
R
ESULTS
Mean
Applies to: Histogram
Description: Returns the mean value of the histogam. It is equivalent to the hmean parameter.
Example:
Dim hmean as double
hmean = app.Math.F1.Out.Result.Mean
Min
Applies to: Histogram
Description: Horizontal coordinate of the left edge of the first populated bin. It is equivalent to the hmin parameter.
Example:
Dim hmin as double
hmin = app.Math.F1.Out.Result.Min
NumFrameDimensions
Applies to: All Result interfaces.
Description: Number of dimensions in the current result. For waveforms, this is typically = 2, (Voltage and time)
dimensions). For X-Y mode the result is 3.
Example:
Dim NumFrameDimensions as Integer
NumFrameDimensions = app.Acquisition.C1.Out.Result.NumFrameDimensions
NumSamplesInFrame
Applies to: Waveform
Description: Number of samples within the graticule.
Example:
Dim NumSamplesInFrame as Long
NumSamplesInFrame = app.Acquisition.C1.Out.Result.NumSamplesInFrame
OffsetAtLeftEdge
Applies to: Histogram
Description: Horizontal coordinate of left edge of the first bin (either populated or unpopulated) displayed on the
grid. Use OffsetAtLeftEdge as an offset for calculating the position of each bin.
Example:
'Read out BinPopulations by indexing the array using the
'FirstPopulatedBin and LastPopulatedBin properties as boundaries
'Also shows code for determining coordinate of bin centers
Const STARTROW = 5
Dim i As Integer
Dim BinPops
Dim FirstPopulatedBin, LastPopulatedBin As Integer
Dim OffsetAtLeftEdge As Double
Dim BinWidth As Double
BinPops = app.Math.F1.Out.Result.BinPopulations
FirstPopulatedBin = app.Math.F1.Out.Result.FirstPopulatedBin
LastPopulatedBin = app.Math.F1.Out.Result.LastPopulatedBin
OffsetAtLeftEdge = app.Math.F1.Out.Result.OffsetAtLeftEdge
2-18
916435 RevA