User manual

Table Of Contents
Part 4: Automation Result Interface Reference
IndexOfFirstSampleInFrame
Index of the first sample that appears in the graticule. This is typically index 1, since index 0 is off- grid to
the left when traces are zoomed.
Applies to: Waveform
Dim IndexOfFirstSampleInFrame as Long
IndexOfFirstSampleInFrame =
app.Acquisition.C1.Out.Result.IndexOfFirstSampleInFrame
LastEventTime
Time of the last contributing event in a set. Useful only when the result includes data produced by a
sequence acquisition, or a cumulative operation such as averaging. Times are returned encoded as a
currency value (VT_CY) within a variant; see description for FirstEventTime for decoding details.
Applies to: All Result interfaces.
Dim LastEventTime
Dim TimeString as String
LastEventTime = app.Acquisition.C1.Out.Result.FirstEventTime
TimeString = DecodeTimeProperty(LastEventTime)
See FirstEventTime for an example of decoding LastEventTime.
LastPopulatedBin
Index of the last populated bin. (The first bin of the histogram is bin 0).
Applies to: Histogram
Dim LastPopulatedBin as Long
LastPopulatedBin = app.Math.F1.Out.Result.LastPopulatedBin
Levels
Returns the value 2, corresponding to the number of levels possible.
Applies to: Digital
Dim Levels As Integer
Levels = app.LogicAnalyzer.Digital1.Out.Result.Levels
LineAliasName
Alias of the line name based on the input index. The alias for the line is displayed on the right side of the
grid, and have values of the form "D0", "D1", etc.
Applies to: Digital
Dim LineAliasName0
LineAliasName0 = app.LogicAnalyzer.Digital1.Out.Result.LineAliasName(0)
4-15