ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

VeriStand .NET API Reference

SetVariable Constructor (String, String, BaseNode, BaseNode)

Initializes a new instance of SetVariable and 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 Sub New ( _
	Name As String, _
	Description As String, _
	Variable As BaseNode, _
	Value As BaseNode _
)
C#
public SetVariable(
	string Name,
	string Description,
	BaseNode Variable,
	BaseNode Value
)
Visual C++
public:
SetVariable(
	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 specifies the value to set on Variable.

See Also