Sets the calibration standard (Thru or Reflect) that is used to define the measurement reference plane for TRL calibration. Use Reflect, if the Thru standard is uncertainly known and the Reflect standard is well defined. Otherwise use the Thru standard to define the reference plane.

Syntax

int32 __stdcall RFmxVNA_CalkitManagerCalkitSetTrlReferencePlane(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 referencePlane)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum.

selectorString[in]char

Specifies a selector string. Pass an empty string.

referencePlane[in]int32

This parameter specifies the TRL calibration standard (Thru or Reflect) used to define the reference plane.

Returns

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