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

Behaviors for different combinations of Calset Name and Signal Name strings are as follows:
  • 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

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

calsetNamestring

Specifies the name of the calset.

errorTermIdentifierRFmxVnaMXCalErrorTerm

Specifies the type of error term in the calset.
The error term can take the following values:

measurementPortstring

Specifies the VNA port name corresponding to the errorTerm you queried.

sourcePortstring

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.

errorTermref 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.