RFmxInstrMX.SetMechanicalAttenuationValue Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the level of mechanical attenuation for the RF path. This value is expressed in dB.
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 SetMechanicalAttenuationValue( string channelName, double value )
Public Function SetMechanicalAttenuationValue ( channelName As String, value As Double ) As Integer
Parameters
- channelName String
- Pass an empty string.
- value 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.
Remarks
This method sets the value of MechanicalAttenuationValue attribute.Supported devices: PXIe-5663/5663E, PXIe-5665, PXIe-5668Valid valuesPXIe-5663/5663E0, 16PXIe-5665 (3.6 GHz)0, 10, 20, 30PXIe-5665 (14 GHz), PXIe-56680, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75