Gets 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 GetRangePeakThreshold(string selectorString, out double value)

Remarks

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

valueout double

Upon return, contains 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.