Sets the number of acquisitions used for averaging when you set the SetAveragingEnabled(string, RFmxSpecAnMXObwAveragingEnabled) method to True.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetAveragingCount(string selectorString, int value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueint

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

Returns

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