Gets the attenuation, in dB, relative to the external attenuation.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetOffsetRelativeAttenuation(string selectorString, out double value)

Remarks

This method maps to the RFmxSpecAn_ACPGetOffsetRelativeAttenuation() 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.

valueout double

Upon return, contains 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.