FetchYData(string, double, ref float[], ref float[])
- Updated2025-10-13
- 1 minute(s) read
Fetches the wave data for all WavesFormat types.
Use "wave(n)" as the selector string to read results from this method.
For different WavesFormat, the data is returned as follows:
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int FetchYData(string selectorString, double timeout, ref float[] y1, ref float[] y2)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies a selector string comprising of the result name, and S-Parameter 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. |
| y1 | ref float[] | Upon return, contains the measured wave real data array corresponding to the FrequencyList. |
| y2 | ref float[] | Upon return, contains the measured wave real data array corresponding to the FrequencyList. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.