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

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int GetExternalAttenuation(string selectorString, out double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueout double

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

Returns

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