Gets the attenuation, in dB, of a switch (or cable) connected to the RF IN connector of the RF signal analyzer.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetExternalAttenuation(string selectorString, out double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueout double

Specifies the attenuation, in dB.

Returns

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