Gets the level of mechanical attenuation for the RF path. This value is expressed in dB.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int GetMechanicalAttenuationValue(string channelName, out double value)

Remarks

This method gets 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

NameTypeDescription
channelNamestring

Pass an empty string.

valueout double

Upon return, contains 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.