SetRangePeakThreshold(string, double)
- Updated2025-10-13
- 1 minute(s) read
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
| 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 | double | 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.