Verticalframestart – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 62
A
BOUT
R
ESULTS
Default value: 1
Accepted values:
1
Readback parameter values
2
Readback start time of measurement
4
Readback stop time of measurement
8
Readback status value. Use this to
determine if edge measurements are of
positive or negative polarity
Example:
‘ Readout all elements of the measurement parameter for P1.
‘ Use the On Error Resume Next statement to handle situations
‘ where no measurements were not taken. On Error Resume Next
‘ The scope will show‘ "---" when there is no result to readback
Const ROWOFFSET = 16
Const COLOFFSET = 2
Dim numValues As Long
Dim startIndex As Long
Dim valueType As Integer
Dim valArray
numValues = Cells(9, 5)
startIndex = Cells(10, 5)
'Get measurement values
valArray = app.measure.p1.out.Result.ValueArray(numValues, startIndex, 1)
'Get measurement start times
startTimes = app.measure.p1.out.Result.ValueArray(numValues, startIndex, 2)
'Get measurement stop times
stopTimes = app.measure.p1.out.Result.ValueArray(numValues, startIndex, 4)
'Get measurement status values (typically edge polarity)
statusVals = app.measure.p1.out.Result.ValueArray(numValues, startIndex, 8)
Dim Value, Mean, Min, Max, Sdev, Num As Double
For i = 0 To UBound(valArray)
Cells(i + ROWOFFSET, COLOFFSET) = i
Cells(i + ROWOFFSET, COLOFFSET + 1) = valArray(i)
Cells(i + ROWOFFSET, COLOFFSET + 2) = startTimes(i)
Cells(i + ROWOFFSET, COLOFFSET + 3) = stopTimes(i)
Cells(i + ROWOFFSET, COLOFFSET + 4) = statusVals(i)
Next
VerticalFrameStart
Applies to: Digital, Histogram, Persist, Waveform, XY
Description: Vertical coordinate of the bottom edge of the graticule containing the trace.
Example:
Dim YFrameStart As Double
YFrameStart = app.Acquisition.C1.Out.Result.VerticalFrameStart
2-26
916435 RevA