ConfigureMechanicalAttenuation(string, RFmxInstrMXMechanicalAttenuationAuto, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| channelName | string | Identifies the channel to which the settings must be applied. Specify an empty string as the value of this parameter. |
| mechanicalAttenuationAuto | RFmxInstrMXMechanicalAttenuationAuto | Specifies whether RFmx automatically chooses an attenuation setting based on the hardware settings. |
| mechanicalAttenuationValue | double | 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.