ConfigureRangeRelativeAttenuation(string, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the attenuation, in dB, relative to the external attenuation. Use this method to compensate for variations in external attenuation when the offset channels are spread wide in frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureRangeRelativeAttenuation(string selectorString, double relativeAttenuation)
Remarks
This method maps to the RFmxSpecAn_SpurCfgRangeRelativeAttenuation() 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. |
| relativeAttenuation | double | Specifies the attenuation, in dB, relative to the external attenuation. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.