ConfigureAveraging(string, RFmxSpecAnMXChpAveragingEnabled, int, RFmxSpecAnMXChpAveragingType)
- Updated2025-10-13
- 1 minute(s) read
Configures averaging for the channel power (CHP) measurement.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureAveraging(string selectorString, RFmxSpecAnMXChpAveragingEnabled averagingEnabled, int averagingCount, RFmxSpecAnMXChpAveragingType averagingType)
Remarks
This method maps to the RFmxSpecAn_CHPCfgAveraging() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| averagingEnabled | RFmxSpecAnMXChpAveragingEnabled | Specifies whether to enable averaging for the measurement. |
| averagingCount | int | Specifies the number of acquisitions used for averaging when you set the SetAveragingEnabled(string, RFmxSpecAnMXChpAveragingEnabled) to True. |
| averagingType | RFmxSpecAnMXChpAveragingType | Specifies the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum 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.