Configures the segment measurement offset and length for the segments.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureSegmentMeasurementInterval(string selectorString, double segmentMeasurementOffset, double segmentMeasurementLength)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of segment number. Example:
"segment0"
You can use the BuildSegmentString(string, int) method to build the selector string.

segmentMeasurementOffsetdouble

Specifies the time offset from the start of the segment for which the phase and amplitude, amplitude, or frequency error values are computed. This value is expressed in seconds. This method is valid only when you set the SetMeasurementIntervalMode(string, RFmxSpecAnMXPavtMeasurementIntervalMode) method to Variable.

segmentMeasurementLengthdouble

Specifies the duration within each segment over which the phase and amplitude, amplitude, or frequency error values are computed. This value is expressed in seconds. This method is valid when you set the SetMeasurementIntervalMode(string, RFmxSpecAnMXPavtMeasurementIntervalMode) method to Variable.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.