ConfigureRangeRelativeAttenuationArray(string, double[])
- Updated2025-10-13
- 1 minute(s) read
Configures an array of attenuation values, in dB, relative to the value of the GetExternalAttenuation(string, out double) method. Use this method to compensate for the variations in external attenuation when offset channels are spread wide in frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureRangeRelativeAttenuationArray(string selectorString, double[] relativeAttenuation)
Remarks
This method maps to the RFmxSpecAn_SpurCfgRangeRelativeAttenuationArray() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| relativeAttenuation | double[] | Specifies an array of attenuation values, in dB, relative to the value of the GetExternalAttenuation(string, out double) method. Use this method to compensate for the variations in external attenuation when offset channels are spread wide in frequency. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.