Configures the frequency start and stop values of the range.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureRangeFrequency(string selectorString, double startFrequency, double stopFrequency, RFmxSpecAnMXSpurRangeEnabled rangeEnabled)

Remarks

This method maps to the RFmxSpecAn_SpurCfgRangeFrequency() 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.

startFrequencydouble

Specifies the start of the frequency range, in hertz (Hz), for the measurement.

stopFrequencydouble

Specifies the stop of the frequency range, in Hz, for the measurement.

rangeEnabledRFmxSpecAnMXSpurRangeEnabled

Specifies whether to measure the Spurs in the frequency range.

Returns

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