CopyCalset(string, string, string)
- Mise à jour2025-10-13
- Temps de lecture : 1 minute(s)
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
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| sourceCalsetName | string | Specifies the name of the source calset from which calset data will be copied. |
| newCalsetName | string | 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.