RFmx VNA C

Table of Contents

RFmxVNA_CalkitManagerCalkitCalibrationElementSParameterGetS12

  • Updated2024-10-21
  • 1 minute(s) read

RFmxVNA_CalkitManagerCalkitCalibrationElementSParameterGetS12

int32 __stdcall RFmxVNA_CalkitManagerCalkitCalibrationElementSParameterGetS12 (niRFmxInstrHandle instrumentHandle, char selectorString[], NIComplexDouble s12[], int32 arraySize, int32* actualArraySize);

Purpose

Returns the S12 S-Parameter for the calibration element.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the RFmx session refnum.
selectorString char[] Specifies the selector string created by this function. The selector string comprises of the Calkit ID and the Calibration Element ID.
Example:
"ckit::MyCkitID/calel::MyCalelID"
You can use the RFmxVNA_CalkitManagerBuildCalkitCalibrationElementString function to build the selector string.
arraySize int32 Specifies the size of the array. Set the arraySize parameter to 0 to get the size of all the arrays in the actualArraySize parameter.
Output
Name Type Description
s12 NIComplexDouble[] Returns the S12 S-Parameter for the calibration element.
actualArraySize int32* Returns the actual size of the array, if you pass NULL to all output array parameters, and set the arraySize parameter to 0.

Return Value

Name Type Description
status int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an RFmx function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the RFmxVNA_GetError function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience