ConfigureRangeFrequency(string, double, double, RFmxSpecAnMXSpurRangeEnabled)
- Updated2025-10-13
- 1 minute(s) read
Configures the frequency start and stop values of the range.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureRangeFrequency(string selectorString, double startFrequency, double stopFrequency, RFmxSpecAnMXSpurRangeEnabled rangeEnabled)
Remarks
This method maps to the RFmxSpecAn_SpurCfgRangeFrequency() 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. |
| startFrequency | double | Specifies the start of the frequency range, in hertz (Hz), for the measurement. |
| stopFrequency | double | Specifies the stop of the frequency range, in Hz, for the measurement. |
| rangeEnabled | RFmxSpecAnMXSpurRangeEnabled | Specifies whether to measure the Spurs in the frequency range. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.