FetchRealData(string, double, ref float[])
- Updated2025-10-13
- 1 minute(s) read
Fetches the wave data for the waves whose WavesFormat is Magnitude or Phase.
Use "wave(n)" as the selector string to read results from this method.
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int FetchRealData(string selectorString, double timeout, ref float[] realData)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies a selector string comprising of the result name, and wave number. If you do not specify the result name, the default result instance is used. |
| 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. |
| realData | ref float[] | Upon return, contains the measured wave real array corresponding to the FrequencyList. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.