Gets the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for spectrum measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetAveragingType(string selectorString, out RFmxSpecAnMXSpectrumAveragingType value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueout RFmxSpecAnMXSpectrumAveragingType

Upon return, contains the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for spectrum measurement.

Returns

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