SetRangeEnabled(string, RFmxSpecAnMXSpurRangeEnabled)
- Updated2025-10-13
- 1 minute(s) read
Sets whether to measure the spurious emissions (Spur) in the frequency range.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetRangeEnabled(string selectorString, RFmxSpecAnMXSpurRangeEnabled value)
Remarks
This method maps to the RFmxSpecAn_SpurSetRangeEnabled() 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 | 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.