FetchError(string, double, out double, out double, out double)
- Updated2025-10-13
- 1 minute(s) read
Fetches the maximum gain error range, phase error range, and mean phase error for the device under test.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int FetchError(string selectorString, double timeout, out double gainErrorRange, out double phaseErrorRange, out double meanPhaseError)
Remarks
This method maps to the RFmxSpecAn_AMPMFetchError() 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. |
| gainErrorRange | out double | Upon return, contains the peak-to-peak deviation, in dB, in the gain of the device under test. |
| phaseErrorRange | out double | Upon return, contains the peak-to-peak deviation, in degrees, in the phase distortion of the acquired signal relative to the reference waveform caused by the device under test. |
| meanPhaseError | out double | Upon return, contains the mean phase error, in degrees, of the acquired signal relative to the reference waveform caused by 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.