RFmxInstrMX.SetMechanicalAttenuationAuto Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets whether RFmx chooses an attenuation setting based on the hardware settings.
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public int SetMechanicalAttenuationAuto( string channelName, RFmxInstrMXMechanicalAttenuationAuto value )
Public Function SetMechanicalAttenuationAuto ( channelName As String, value As RFmxInstrMXMechanicalAttenuationAuto ) As Integer
Parameters
- channelName String
- Pass an empty string.
- value RFmxInstrMXMechanicalAttenuationAuto
- Specifies whether RFmx chooses an attenuation setting based on the hardware settings.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of MechanicalAttenuationAuto attribute.The default value is True.Supported devices: PXIe-5663/5663E/5665/5668