Sets the threshold level, in dBm, above which the measurement detects spurs in the range that you specify using the SetRangeStartFrequency(string, double) and SetRangeStopFrequency(string, double) methods.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetRangePeakThreshold(string selectorString, double value)

Remarks

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

valuedouble

Specifies the threshold level, in dBm, above which the measurement detects spurs in the range that you specify using the SetRangeStartFrequency(string, double) and SetRangeStopFrequency(string, double) methods.

Returns

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