SetMechanicalAttenuationAuto(string, RFmxInstrMXMechanicalAttenuationAuto)
- Updated2025-10-13
- 1 minute(s) read
Sets whether RFmx chooses an attenuation setting based on the hardware settings.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int SetMechanicalAttenuationAuto(string channelName, RFmxInstrMXMechanicalAttenuationAuto value)
Remarks
This method sets the value of MechanicalAttenuationAuto attribute.The default value is True.Supported devices: PXIe-5663/5663E/5665/5668
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Pass an empty string. |
| value | RFmxInstrMXMechanicalAttenuationAuto | Specifies whether RFmx chooses an attenuation setting based on the hardware settings. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.