Clears either the default calset of the specified signal or a named calset accessible across all signals.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int ClearCalset(string selectorString, string calsetName)

Remarks

Behaviors for different combinations of Calset Name and Signal Name strings are as follows:
  • Calset Name is "" (empty string): RFmx clears 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 clears 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.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.