RFmxVnaMX.CalsetLoadFromFile Method
- Updated2024-07-17
- 2 minute(s) read
RFmx
Loads error-correction terms you saved in a calset file (.ncst) using CalsetSaveToFile(String, String, String) method. If error-correction terms already exist for the RFmx Signal instance you specified using the Selector String input, RFmx will replace those correction terms.
You cannot specify both signal name in Selector String and Calset Name together.
If you do not specify both signal name in Selector String and Calset Name, the error term will be loaded from specified file to in memory calset of default signal instance. If you do not specify Calset Name but specify signal name in Selector String, the error term will be loaded from specified file to in memory calset of the specified signal instance. If you specify only Calset Name, the error term will be loaded from specified file to the global calset with the specified calset name.
You cannot specify both signal name in Selector String and Calset Name together.
If you do not specify both signal name in Selector String and Calset Name, the error term will be loaded from specified file to in memory calset of default signal instance. If you do not specify Calset Name but specify signal name in Selector String, the error term will be loaded from specified file to in memory calset of the specified signal instance. If you specify only Calset Name, the error term will be loaded from specified file to the global calset with the specified calset name.
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int CalsetLoadFromFile( string selectorString, string calsetName, string calsetFilePath )
Public Function CalsetLoadFromFile ( selectorString As String, calsetName As String, calsetFilePath As String ) As Integer
Parameters
- 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.