Populationinside, Populationofrectangle, Populationover – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 56
A
BOUT
R
ESULTS
‘loop through each element of the selected PeakInfo array. There are 9
elements.
For j = 0 To 8
Cells(STARTROW + j + 1, STARTCOL + i) = PeakInfo(j)
Next
Next
PopulationInside
Applies to: Histogram
Description: Population of the histogram for events contained within the number of bins configured.
Example:
Dim PopInside as Long
PopInside = app.Math.F1.Out.Result.PopulationInside
PopulationOfRectangle
Applies to: Persist
Description: Population of the selected rectangle.
Arguments:
numColumns as Long
Default value: -1, use all columns
Number of columns to use in maximum population search.
numRows as Long
Default value: -1, use all rows
Number of rows to retrieve.
startColumn as Long
Default value: 0, first column
Index of the first column to use. (0-based)
startRow as Long
Default value: 0, first row
Index of the first row to use. (0-based)
Example:
Dim numColumns As Long
Dim numRows As Long
Dim startColumn As Long
Dim startRow As Long
Dim PopulationOfRectangle As Long
numColumns = Cells(9, 5)
numRows = Cells(10, 5)
startColumn = Cells(11, 5)
startRow = Cells(12, 5)
numRows, startColumn, startRow)
PopulationOfRectangle =
app.SDA.Eye.Out.Result.PopulationOfRectangle(numColumns, _ numRows,
startColumn, startRow)
PopulationOfRectangle = app.SDA.Eye.Out.Result.PopulationOfRectangle
PopulationOver
Applies to: Histogram
Description: Population of the events greater than the last bin.
2-20
916435 RevA