CalsetGetErrorTerm(string, string, RFmxVnaMXCalErrorTerm, string, string, ref ComplexSingle[])
- Updated2025-10-13
- 2 minute(s) read
Returns values for a specific error term from either the default calset of the specified signal or a named calset accessible across all signals.
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int CalsetGetErrorTerm(string selectorString, string calsetName, RFmxVnaMXCalErrorTerm errorTermIdentifier, string measurementPort, string sourcePort, ref ComplexSingle[] errorTerm)
Remarks
Calset Name is "" (empty string): RFmx returns the error term values from the default calset of the signal instance specified in the Selector String. If you do not specify a Signal Name, then default RFmxVNA signal instance is used.
Calset Name is non-empty string: If you do not specify a Signal Name, then RFmx returns the error term values from the named calset. RFmx returns an error if you specify both Calset Name and Signal Name as non-empty strings.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| calsetName | string | Specifies the name of the calset. |
| errorTermIdentifier | RFmxVnaMXCalErrorTerm | Specifies the type of error term in the calset. |
| measurementPort | string | Specifies the VNA port name corresponding to the errorTerm you queried. |
| sourcePort | string | Specifies the VNA port name for which the errorTerm is queried. This parameter is only required to query Error Term defined by port pairs. The valid values of the parameter Error Term Identifier defined for port pairs are transmissionTracking and loadMatch. |
| errorTerm | ref ComplexSingle[] | Upon return, contains the computed error term from the calset. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.