VeriStand .NET API Reference

Procedure.AddNewSetVariable Method (String, String, BaseNode, BaseNode)

Adds a new SetVariable step that sets the value of the Variable channel to the value of the Value channel.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: 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.

Return Value

true (True in Visual Basic) if the SetVariable step was added successfully.

See Also

Log in to get a better experience