Copies into a new calset either from the default calset of the specified signal or a named calset accessible across all signals.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int CopyCalset(string selectorString, string sourceCalsetName, string newCalsetName)

Remarks

Behaviors for different combinations of Source Calset Name and Signal Name strings are as follows:
  • Source Calset Name is "" (empty string): RFmx copies the default calset of the signal instance specified in the Selector String into the New Calset you specify. 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 copies the named calset into the New Calset you specify. 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.

sourceCalsetNamestring

Specifies the name of the source calset from which calset data will be copied.

newCalsetNamestring

Specifies the name of the new calset to which calset data will be copied. You must specify this parameter to a non-empty string.

Returns

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