Procedure.AddNewSetVariable Method (String, String, BaseNode, BaseNode)
- Updated2023-02-21
- 2 minute(s) read
Adds a new SetVariable step that sets the value of the Variable channel to the value of the Value channel.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Function AddNewSetVariable ( _ Name As String, _ Description As String, _ Variable As BaseNode, _ Value As BaseNode _ ) As Boolean |
| C# |
|---|
public bool AddNewSetVariable( string Name, string Description, BaseNode Variable, BaseNode Value ) |
| Visual C++ |
|---|
public: bool AddNewSetVariable( String^ Name, String^ Description, BaseNode^ Variable, BaseNode^ Value ) |
Parameters
- Name
- Type: System.String
The name of the step.
- Description
- Type: System.String
The description of the step.
- Variable
- Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel in the system whose value you want to set.
- Value
- Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel that determines the value of Variable.