Sets the attenuation, in dB, relative to the value which you set in the SetExternalAttenuation(string, double) method. Use the attenuation to compensate for the variations in external attenuation when offset segments are spread wide in frequency.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetRangeRelativeAttenuation(string selectorString, double value)

Remarks

This method maps to the RFmxSpecAn_SpurSetRangeRelativeAttenuation() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the range number. Example: "range0". You can use the BuildRangeString2(string, int) method to build the selector string.

valuedouble

Specifies the attenuation, in dB, relative to the external attenuation which you set in the SetExternalAttenuation(string, double) method. Use the attenuation to compensate for the variations in external attenuation when offset segments 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.