RfsgArb.DigitalGain Property
- Updated2024-05-08
- 1 minute(s) read
RfsgArbDigitalGain Property
Gets or sets the digital gain, in decibels.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public double DigitalGain { get; set; }
Public Property DigitalGain As Double Get Set
Property Value
Type: DoubleSpecifies a Double representing the digital gain, in decibels. The default value is 0.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The DigitalGain property was accessed after the associated NIRfsg object was disposed. |
Remarks
The digital gain is applied to the waveform data after filtering. Use this property to adjust the output power of the device while keeping the analog path fixed. This may cause clipping, overflows, or quantization noise if used improperly.
To set this property, the NI-RFSG device must be in the Configuration or Generation state.