RFmxVNA_CalkitManagerCalkitCalibrationElementSetSParameterDefinition
- Updated2025-04-08
- 1 minute(s) read
Defines the way how the S-Parameters of the Calibration Element are specified.
Syntax
int32 __stdcall RFmxVNA_CalkitManagerCalkitCalibrationElementSetSParameterDefinition(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 sParameterDefinition)
Parameters
Name | Direction | Type | Description |
---|---|---|---|
instrumentHandle | [in] | niRFmxInstrHandle | This parameter specifies the RFmx session refnum. |
selectorString | [in] | char | Specifies a selector string. Pass an empty string. |
sParameterDefinition | [in] | int32 | This parameter specifies the S-Parameter definition of the Calibration Element. <ring> <ringvalue value="0"> <name>Reflect Model</name> <shortdescription> S-Parameters defined by the Reflect model (1-port). </shortdescription> </ringvalue> <ringvalue value="1"> <name>Sparameter</name> <shortdescription> S-Parameters defined by a S-Parameter list (1-port and 2-port). </shortdescription> </ringvalue> <ringvalue value="2"> <name>Delay Model</name> <shortdescription> S-Parameters defined by a delay model (2-port). </shortdescription> </ringvalue> <ringvalue value="3"> <name>Unknown</name> <shortdescription> S-Parameters not further specified. </shortdescription> </ringvalue> </ring> |
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 |