Specifies the attenuation of a switch (or cable) connected to the RF IN connector of the signal analyzer.

Syntax

Namespace: NationalInstruments.RFmx.PulseMX

public int ConfigureExternalAttenuation(string selectorString, double externalAttenuation)

Parameters

NameTypeDescription
selectorStringstring

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

externalAttenuationdouble

Specifies the attenuation, in dB, of a switch (or cable) connected to the RF IN connector of the signal analyzer. For more information about attenuation, refer to the Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help.

Returns

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