Gets or sets whether to enable the mechanical attenuator.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public MechanicalAttenuatorEnabled MechanicalAttenuatorEnabled { get; set; }

Remarks

Specifies the MechanicalAttenuatorEnabled enumeration.

Set this property to Enabled to put the mechanical attenuator into the signal path. To improve device performance, disable this attenuator. Refer to NI 5663/5663E RF Attenuation and Signal Levels for more information about the attenuators.

Exceptions

TypeDescription
System.ObjectDisposedException

The MechanicalAttenuatorEnabled property was accessed after the associated NIRfsa object was disposed.