Configures the peak threshold and peak excursion criteria which a peak should meet to be classified as a spurious emission (Spur).

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureRangePeakCriteria(string selectorString, double threshold, double excursion)

Remarks

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

thresholddouble

Specifies the threshold level, in dBm, above which the measurement detects spurs in the specified range.

excursiondouble

Specifies the peak excursion value, in dB, used to detect the spurs in the spectrum. The signal should rise and fall by at least the peak excursion value, above the threshold, to be considered a spur.

Returns

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