RFmxVnaMX.SelectActiveCalset Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Activates the specified calset to the signal instance you specified using the Selector String input.
If you do not specify both signal name in Selector String and Calset Name,the in memory calset will be activated for default signal instance. If you do not specify Calset Name but specify signal name in Selector String, in memory calset will be activated for the specified signal instance. If you specify only Calset Name, the global calset with the specified calset name will be activated for the default signal instance. If you specify both signal name in Selector string and Calset Name, the global calset with the specified calset name will be activated for the specified signal instance.
You can use the GetAllCalsetNames(String, String) method to get the list of available global calsets.
If you do not specify both signal name in Selector String and Calset Name,the in memory calset will be activated for default signal instance. If you do not specify Calset Name but specify signal name in Selector String, in memory calset will be activated for the specified signal instance. If you specify only Calset Name, the global calset with the specified calset name will be activated for the default signal instance. If you specify both signal name in Selector string and Calset Name, the global calset with the specified calset name will be activated for the specified signal instance.
You can use the GetAllCalsetNames(String, String) method to get the list of available global calsets.
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 SelectActiveCalset( string selectorString, string calsetName, RFmxVnaMXRestoreConfiguration restoreConfiguration )
Public Function SelectActiveCalset ( selectorString As String, calsetName As String, restoreConfiguration As RFmxVnaMXRestoreConfiguration ) 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.
- restoreConfiguration RFmxVnaMXRestoreConfiguration
- Specifies whether the stimulus settings from the specified calset should be applied to the signal.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.