FetchCurveFitCoefficients(string, double, ref float[], ref float[])
- Updated2025-10-13
- 1 minute(s) read
Fetches the coefficients of the polynomials that approximate the AM-to-AM and AM-to-PM responses of the device under test.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int FetchCurveFitCoefficients(string selectorString, double timeout, ref float[] amToAMCoefficients, ref float[] amToPMCoefficients)
Remarks
This method maps to the RFmxSpecAn_AMPMFetchCurveFitCoefficients() 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. Set this value to an appropriate time longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. |
| amToAMCoefficients | ref float[] | Upon return, contains the coefficients of the polynomial that approximates the AM-to-AM characteristic of the device under test. |
| amToPMCoefficients | ref float[] | Upon return, contains the coefficients of the polynomial that approximates 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.