Configures averaging for the frequency count (Fcnt) measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureAveraging(string selectorString, RFmxSpecAnMXFcntAveragingEnabled averagingEnabled, int averagingCount, RFmxSpecAnMXFcntAveragingType averagingType)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

averagingEnabledRFmxSpecAnMXFcntAveragingEnabled

Specifies whether to enable averaging for the Fcnt measurement.

averagingCountint

Specifies the number of acquisitions used for averaging.

averagingTypeRFmxSpecAnMXFcntAveragingType

Specifies the averaging type for averaging multiple acquisitions.

Returns

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