Gets or sets the digital gain, in decibels.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public double DigitalGain { get; set; }

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.

Specifies a Double representing the digital gain, in decibels. The default value is 0.

Exceptions

TypeDescription
System.ObjectDisposedException

The DigitalGain property was accessed after the associated NIRfsg object was disposed.