RFmxInstrMX.ConfigureMechanicalAttenuation Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Configures the mechanical attenuation and RFmx attenuation hardware settings.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668
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 ConfigureMechanicalAttenuation( string channelName, RFmxInstrMXMechanicalAttenuationAuto mechanicalAttenuationAuto, double mechanicalAttenuationValue )
Public Function ConfigureMechanicalAttenuation ( channelName As String, mechanicalAttenuationAuto As RFmxInstrMXMechanicalAttenuationAuto, mechanicalAttenuationValue As Double ) As Integer
Parameters
- 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.