FetchCurveFitResidual(string, double, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selectorString. |
| timeout | double | Specifies the timeout, in seconds, for fetching the specified measurement. |
| amToAMResidual | out double | Upon return, contains the approximation error, in dB, in the polynomial approximation of the AM-to-AM characteristic of the device under test. |
| amToPMResidual | out 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.