RfsgRFAdvanced.AttenuatorHoldEnabled Property
- Updated2025-02-03
- 1 minute(s) read
Rfsg
Gets or sets whether attenuator hold is enabled or disabled.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025
Syntax
public bool AttenuatorHoldEnabled { get; set; }
Public Property AttenuatorHoldEnabled As Boolean Get Set
Property Value
Booleanif attenuator hold is enabled; otherwise .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The AttenuatorHoldEnabled property was accessed after the associated NIRfsg object was disposed. |
Remarks
While this property is set to , changing the power level causes NI-RFSG to scale the digital data sent to the arbitrary waveform generator (AWG)
rather than change the attenuators. Changing power levels in this manner allows the device to increase or decrease the power level in more accurate increments but may affect signal-to-noise ratios (noise density).
The frequency cannot be changed while attenuator hold is enabled.
Setting this property to limits the power levels that can be attained. With attenuator hold enabled, the power level must satisfy the following conditions:
- Power level is less than or equal to the maximum power level set with AttenuatorHoldMaximumPower.
- Power level is greater than or equal to -145 dBm.