Configures averaging for analog demodulation measurements.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureAveraging(string selectorString, RFmxDemodMXADemodAveragingEnabled averagingEnabled, int averagingCount, RFmxDemodMXADemodAveragingType averagingType)

Remarks

This method maps to the RFmxDemod_ADemodCfgAveraging() function in C.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

averagingEnabledRFmxDemodMXADemodAveragingEnabled

Enables averaging for digital demodulation measurement.

averagingCountint

Specifies the number of acquisitions used for averaging when you set SetAveragingEnabled(string, RFmxDemodMXADemodAveragingEnabled) to True.

averagingTypeRFmxDemodMXADemodAveragingType

Specifies the averaging type for the measurement.

Returns

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