ConfigureRangePeakCriteria(string, double, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the range number. Example: "range0". You can use the BuildRangeString2(string, int) method to build the selector string. |
| threshold | double | Specifies the threshold level, in dBm, above which the measurement detects spurs in the specified range. |
| excursion | double | 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.