Sets the scaling factor applied to the time-domain voltage data in the digitizer. This value is expressed in dB.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int SetDigitalGain(string selectorString, double value)

Remarks

This method sets the value of DigitalGain attribute.The default value is 0 dB. Supported devices: PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string.

valuedouble

Specifies the scaling factor applied to the time-domain voltage data in the digitizer. This value is expressed in dB.
RFmx does not compensate for the specified digital gain. You can use this property to account for external gain changes without changing the analog signal path. The PXIe-5644/5645/5646 applies this gain when the data is scaled. The raw data does not include this scaling on these devices.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.