Sets 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 SetExternalAttenuation(string selectorString, double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valuedouble

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