Sets the attenuation, in dB, relative to the external attenuation. 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 SetOffsetRelativeAttenuation(string selectorString, double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string.

valuedouble

Specifies 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.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.