Fetches the S-Parameter data for the S-Parameters whose SParamsFormat is Complex.
Use "sparam(n)" as the selector string to read results from this method.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int FetchComplexData(string selectorString, double timeout, ref ComplexSingle[] complexData)

Parameters

NameTypeDescription
selectorStringstring

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.
Example:
"sparam0"
"result::r1/sparam0"
You can use the BuildSParameterString(string, int) method to build the selector string.

timeoutdouble

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.

complexDataref ComplexSingle[]

Upon return, contains the measured S-Parameter complex array corresponding to the FrequencyList.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.