Configures averaging for the transmit power (TXP) measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureAveraging(string selectorString, RFmxSpecAnMXTxpAveragingEnabled averagingEnabled, int averagingCount, RFmxSpecAnMXTxpAveragingType averagingType)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

averagingEnabledRFmxSpecAnMXTxpAveragingEnabled

Specifies whether to enable averaging for the measurement.

averagingCountint

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

averagingTypeRFmxSpecAnMXTxpAveragingType

Specifies the averaging type for averaging the power over multiple acquisitions. The averaged power trace is used for the measurement. Refer to the Averaging section of the Spectrum topic for more information about averaging types.

Returns

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