Configures the degree of the polynomial and the cost-function used to approximate the measured AM-to-AM response of the device under test.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureAMToAMCurveFit(string selectorString, int amToAMCurveFitOrder, RFmxSpecAnMXAmpmAMToAMCurveFitType amToAMCurveFitType)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

amToAMCurveFitOrderint

Specifies the degree of the polynomial used to approximate the AM-to-PM characteristic of the device under test.

amToAMCurveFitTypeRFmxSpecAnMXAmpmAMToAMCurveFitType

Specifies the cost-function for polynomial approximation of the AM-to-AM 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.