RFmx VNA DotNET

Table of Contents

RFmxVnaMXSParamsResults.FetchComplexData Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxVnaMXSParamsResults.FetchComplexData Method

RFmxVnaMXSParamsResultsFetchComplexData Method

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

Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)

Syntax

public int FetchComplexData(
	string selectorString,
	double timeout,
	ref ComplexSingle[] complexData
)
Public Function FetchComplexData ( 
	selectorString As String,
	timeout As Double,
	ByRef complexData As ComplexSingle()
) As Integer

Parameters

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.
Example:
"sparam0"
"result::r1/sparam0"
You can use the BuildSParameterString(String, Int32) method to build the selector string.
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.
complexData  ComplexSingle
Upon return, contains the measured S-Parameter complex array corresponding to the FrequencyList.

Return Value

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

See Also

Log in to get a better experience