GetRangePeakThreshold(string, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the range number. Example: "range0". You can use the BuildRangeString2(string, int) method to build the selector string. |
| value | out 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.