Configures the sweep time.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureSweepTime(string selectorString, RFmxSpecAnMXSpectrumSweepTimeAuto sweepTimeAuto, double sweepTimeInterval)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

sweepTimeAutoRFmxSpecAnMXSpectrumSweepTimeAuto

Specifies whether the measurement computes the sweep time.

sweepTimeIntervaldouble

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

Returns

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