Configures the sweep time.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureRangeSweepTime(string selectorString, RFmxSpecAnMXSpurSweepTimeAuto sweepTimeAuto, double sweepTimeInterval)

Remarks

This method maps to the RFmxSpecAn_SpurCfgRangeSweepTime() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the range number. Example: "range0". You can use the BuildRangeString2(string, int) method to build the selector string.

sweepTimeAutoRFmxSpecAnMXSpurSweepTimeAuto

Specifies whether the measurement computes the sweep time.

sweepTimeIntervaldouble

Specifies the sweep time, in seconds, when you set the SetRangeSweepTimeAuto(string, RFmxSpecAnMXSpurSweepTimeAuto) to False.

Returns

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