Configures the mechanical attenuation and RFmx attenuation hardware settings.supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int ConfigureMechanicalAttenuation(string channelName, RFmxInstrMXMechanicalAttenuationAuto mechanicalAttenuationAuto, double mechanicalAttenuationValue)

Parameters

NameTypeDescription
channelNamestring

Identifies the channel to which the settings must be applied. Specify an empty string as the value of this parameter.

mechanicalAttenuationAutoRFmxInstrMXMechanicalAttenuationAuto

Specifies whether RFmx automatically chooses an attenuation setting based on the hardware settings.

mechanicalAttenuationValuedouble

Specifies the level of mechanical attenuation for the RF path. This value is expressed in dB.

Returns

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