SetAveragingType(string, RFmxSpecAnMXAcpAveragingType)
- Updated2025-10-13
- 1 minute(s) read
Sets the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for the adjacent channel power (ACP) measurement.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetAveragingType(string selectorString, RFmxSpecAnMXAcpAveragingType value)
Remarks
This method maps to the RFmxSpecAn_ACPSetAveragingType() 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. |
| value | RFmxSpecAnMXAcpAveragingType | Specifies the averaging type for averaging multiple spectrum acquisitions. The averaged spectrum is used for the ACP measurement. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.