ConfigureAMToPMCurveFit(string, int, RFmxSpecAnMXAmpmAMToPMCurveFitType)
- Updated2025-10-13
- 1 minute(s) read
Configures the degree of the polynomial and the cost-function used to approximate the measured AM-to-PM response of the device under test.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureAMToPMCurveFit(string selectorString, int amToPMCurveFitOrder, RFmxSpecAnMXAmpmAMToPMCurveFitType amToPMCurveFitType)
Remarks
This method maps to the RFmxSpecAn_AMPMCfgAMToPMCurveFit() 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. |
| amToPMCurveFitOrder | int | Specifies the degree of the polynomial used to approximate the AM-to-PM characteristic of the device under test. |
| amToPMCurveFitType | RFmxSpecAnMXAmpmAMToPMCurveFitType | Specifies the cost-function for polynomial approximation of the AM-to-PM characteristic of the device under test. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.