Read-only |
About Segment Sweep |
Description |
Returns the channel's X-axis values into a dimensioned Typed array. GetXAxisValues2 is a convenient method for determining the frequency of each point when the points are not linearly spaced - as in segment sweep. Note: This method will fail if called using a scripting client such as VBScript or Keysight Vee, (see remarks) Note: In Segment Sweep, chan.NumberofPoints will return the total number of data points for the combined segments. |
VB Syntax |
chan.GetXAxisValues2 numPts,data |
Variable |
(Type) - Description |
chan |
(object) - A Channel object |
numPts |
(long integer) - Number of data points in the channel |
data |
(double) Single dimensioned array of data matching the number of points in the channel. |
Return Type |
double |
Default |
Not applicable |
Examples |
Dim App As Application |
C++ Syntax |
HRESULT GetXAxisValues2(long* pNumValues, double* stimulus) |
Interface |
IChannel |
This method will fail if called using a scripting client such as VBScript or Keysight Vee. Use the GetXAxisValues method as a replacement for these COM environments.
This method also cannot be called using late-bound typing in Visual Basic. For instance, if, in the example above, the first line were replaced with "Dim App as Object", then this method would fail.