VeriStand .NET API Reference

Table of Contents

Conditional Constructor (String, String, UInt16, BaseNode, BaseNode, Double, BaseNode)

Initializes a new instance of Conditional. In the conditional formula (If (X compare Y), then W. Else, Z.), Y and Z are both channel values, and W is a constant.

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, _
	ComparisonMode As UShort, _
	XValue As BaseNode, _
	YValue As BaseNode, _
	WValue As Double, _
	ZValue As BaseNode _
)
C#
public Conditional(
	string Name,
	string Description,
	ushort ComparisonMode,
	BaseNode XValue,
	BaseNode YValue,
	double WValue,
	BaseNode ZValue
)
Visual C++
public:
Conditional(
	String^ Name, 
	String^ Description, 
	unsigned short ComparisonMode, 
	BaseNode^ XValue, 
	BaseNode^ YValue, 
	double WValue, 
	BaseNode^ ZValue
)

Parameters

Name
Type: System.String
The name of the Conditional calculated channel.
Description
Type: System.String
The description of the Conditional calculated channel.
ComparisonMode
Type: System.UInt16
The comparison condition. Use class constants such as Greater.
XValue
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel to be compared.
YValue
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel value to which X is compared.
WValue
Type: System.Double
The constant that determines the value of W.
ZValue
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel that determines the value of Z.

See Also

Log in to get a better experience