VeriStand .NET API Reference

Condition Constructor (String, String, BaseNode, ConditionStepComparison, BaseNode, Command)

Initializes a new instance of Condition that compares a channel to another 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, _
	Comparison As ConditionStepComparison, _
	Value As BaseNode, _
	GotoLabel As Command _
)
C#
public Condition(
	string Name,
	string Description,
	BaseNode Variable,
	ConditionStepComparison Comparison,
	BaseNode Value,
	Command GotoLabel
)
Visual C++
public:
Condition(
	String^ Name, 
	String^ Description, 
	BaseNode^ Variable, 
	ConditionStepComparison Comparison, 
	BaseNode^ Value, 
	Command^ GotoLabel
)

Parameters

Name
Type: System.String
The name of the Condition step.
Description
Type: System.String
The description of the Condition step.
Variable
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel in the system against which to test the condition.
Comparison
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.ConditionStepComparison
The condition to use when comparing Variable and Value.
Value
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel to compare with Variable.
GotoLabel
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.Command
The procedure step to execute when the condition is met.

See Also

Log in to get a better experience