SetMechanicalAttenuationValue(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the level of mechanical attenuation for the RF path. This value is expressed in dB.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int SetMechanicalAttenuationValue(string channelName, double value)
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
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Pass an empty string. |
| value | 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.