CalsetLoadFromFile(string, string, string)
- Mise à jour2025-10-13
- Temps de lecture : 1 minute(s)
Loads calset from a calset file (*.ncst), either to the default calset of the specified signal or to a named calset accessible across all signals.
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int CalsetLoadFromFile(string selectorString, string calsetName, string calsetFilePath)
Remarks
Calset Name is "" (empty string): RFmx loads calset from file to the default calset of the signal instance specified in the Selector String and selects the default calset as active calset for the signal. 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 loads calset from file to a named calset. RFmx returns an error if you specify both Calset Name and Signal Name as non-empty strings.
This method will overwrite the contents of the calset if it already exists.
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. |
| calsetFilePath | string | Specifies the complete path to the file with .ncst extension from which the calset is to be loaded. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.