SetAveragingType(string, RFmxSpecAnMXIMAveragingType)
- Updated2025-10-13
- 1 minute(s) read
Sets the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for the IM measurement.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetAveragingType(string selectorString, RFmxSpecAnMXIMAveragingType value)
Remarks
This method sets the value of IMAveragingType attribute.The default value is Rms.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | RFmxSpecAnMXIMAveragingType | Specifies the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for the IM measurement. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.