User manual

Table Of Contents
Part 4: Automation Result Interface Reference
Value
Value of a parameter or of a statistic in the measurement system. When the scope has no result, it will
show "---" in the measure table. When this is displayed, the Value property is not accessible. Error handling
should be employed to catch errors that may occur.
Use the On Error Resume Next statement to handle situations where a measurement is not available, such
as attempting to read back the frequency of a DC level, or trying to read the Sdev statistic when there is
only 1 measurement.
Applies to: Param
' Readout all elements of the measurement parameter for P1
On Error Resume Next
Dim Value, Mean, Min, Max, Sdev, Num As Double
Value = app.measure.p1.out.Result.Value
Mean = app.measure.p1.Mean.Result.Value
Min = app.measure.p1.Min.Result.Value
Max = app.measure.p1.Max.Result.Value
Sdev = app.measure.p1.Sdev.Result.Value
Num = app.measure.p1.Num.Result.Value
4-25