Configures averaging for the adjacent channel power (ACP) measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureAveraging(string selectorString, RFmxSpecAnMXAcpAveragingEnabled averagingEnabled, int averagingCount, RFmxSpecAnMXAcpAveragingType averagingType)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

averagingEnabledRFmxSpecAnMXAcpAveragingEnabled

Specifies whether to enable averaging of the spectrum for ACP measurement.

averagingCountint

Specifies the number of acquisitions used for averaging when you set the  method to True.

averagingTypeRFmxSpecAnMXAcpAveragingType

Specifies the averaging type for averaging multiple Spectrum acquisitions. The averaged spectrum is used for ACP measurement.

Returns

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