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

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

relativeAttenuationdouble[]

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.