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

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

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

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 BaseNode, _
	ZValue As BaseNode _
)
C#
public Conditional(
	string Name,
	string Description,
	ushort ComparisonMode,
	BaseNode XValue,
	BaseNode YValue,
	BaseNode WValue,
	BaseNode ZValue
)
Visual C++
public:
Conditional(
	String^ Name, 
	String^ Description, 
	unsigned short ComparisonMode, 
	BaseNode^ XValue, 
	BaseNode^ YValue, 
	BaseNode^ 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: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel that determines the value of W.
ZValue
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel that determines the value of Z.

See Also