Fetches the polynomial approximation residuals for AM-to-AM and AM-to-PM response of the device under test.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int FetchCurveFitResidual(string selectorString, double timeout, out double amToAMResidual, out double amToPMResidual)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selectorString.

timeoutdouble

Specifies the timeout, in seconds, for fetching the specified measurement.

amToAMResidualout double

Upon return, contains the approximation error, in dB, in the polynomial approximation of the AM-to-AM characteristic of the device under test.

amToPMResidualout double

Upon return, contains the approximation error, in degrees, in the 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.