Read-only
About Segment Sweep

GetXAxisValues Method


Description

Returns the channel's X-axis values. GetXAxisValues is a convenient method for determining the frequency of each point when the points are not linearly spaced - as in segment sweep.

See the Measurement2 Interface to learn how this method differs from meas.GetXAxisValues.

Note: This method returns a variant which is less efficient than GetXAxisValues2.

Note: In Segment Sweep, chan.NumberofPoints will return the total number of data points for the combined segments.

 VB Syntax

data = chan.GetXAxisValues

Variable

(Type) - Description

data

Variant array to store the data.

chan

A Channel (object)

Return Type

Variant

Default

Not Applicable

Examples

Dim varData As Variant
Dim i As Integer
varData = chan.GetXAxisValues
'Print Data

For i = 0 To chan.NumberOfPoints - 1
 Print varData(i)
Next i

C++ Syntax

HRESULT GetXAxisValues (VARIANT* xData)

Interface

IChannel