VeriStand .NET API Reference

Conditional Members

The Conditional type exposes the following members.

NameDescription
Conditional
Overloaded. 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.

Methods

NameDescription
Downcast Casts CalculatedChannel to a more specific type. (Inherited from CalculatedChannel.)
EqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Class Destructor (Overrides CalculatedChannel.Finalize().)
FindChildrenByGUID Gets an array that contains the child BaseNode elements of the current node that match the specified TypeGUID. (Inherited from BaseNode.)
FindFirstChildWithName Gets the first child node with the specified name. (Inherited from BaseNode.)
FindNodeByPath Gets a node using the specified path. (Inherited from BaseNode.)
GetChildren Gets an array that contains the child BaseNode elements of the current node. (Inherited from BaseNode.)
GetDocumentPath Gets the path to the system definition file that owns this node. (Inherited from BaseNode.)
GetDocumentRoot Gets the Root node of the system definition file. (Inherited from BaseNode.)
GetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
GetParent Gets the parent node of this node. (Inherited from BaseNode.)
GetTypeGets the Type of the current instance. (Inherited from Object.)
MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
RemoveNode Removes this node from the hierarchy, if the node can be removed. (Inherited from BaseNode.)
RenameNode Renames this node to the name you specify, if the node can be renamed and if the name you specify is not already in use by a sibling of this node. (Inherited from BaseNode.)
SetWValue
Overloaded. Sets W in the conditional formula (If (X compare Y), then W. Else, Z.), to the specified channel value.
SetYValue
Overloaded. Sets Y in the conditional formula (If (X compare Y), then W. Else, Z.), to the specified channel value.
SetZValue
Overloaded. Sets Z in the conditional formula (If (X compare Y), then W. Else, Z.), to the specified channel value.
ToStringReturns a String that represents the current Object. (Inherited from Object.)

Fields

NameDescription
AND NI VeriStand converts the values of the double data type to the I32 data type and then performs the AND operation on the values bitwise.
Equal Equal to operation.
Greater Greater than operation.
GreaterOrEqual Greater than or equal to operation.
Less Less than operation.
LessOrEqual Less than or equal to operation.
NotEqual Not equal operation.
OR NI VeriStand converts the values of the double data type to the I32 data type and then performs the OR operation on the values bitwise.

Properties

NameDescription
BaseNodeType Gets a reference to the internal representation of this node. (Inherited from BaseNode.)
BitFields Gets a bitfield mask that is set on the channel. (Inherited from Channel.)
CalculatedChannelType Gets the type of the calculated channel. (Inherited from CalculatedChannel.)
ColumnDimensions Gets the number of columns in the channel value. (Inherited from Channel.)
ComparisonMode Gets or sets the type of comparison to use for the condition.
DataSource Gets or sets the source channel that maps to the current channel and provides it data. (Inherited from Channel.)
DefaultValue Gets the default value of the channel. (Inherited from Channel.)
Description Gets or sets the description of this node. (Inherited from BaseNode.)
Name Gets the name of this node. To rename a node, use the RenameNode method. (Inherited from BaseNode.)
NodeID Gets the ID of this node. (Inherited from BaseNode.)
NodePath Gets the path to the node within the system definition file. (Inherited from BaseNode.)
RowDimensions Gets the number of rows in the channel value. (Inherited from Channel.)
Scale Gets or sets the value of the scale property on the channel. (Inherited from Channel.)
ScaleUnits Gets the units of the scale associated with the channel. (Inherited from Channel.)
TypeGUID Gets the GUID associated with the node. Attempts to set the GUID of a BaseNode will generate an exception. (Inherited from BaseNode.)
Units Gets or sets the units associated with the channel. This can be any arbitrary string. (Inherited from Channel.)
WChannelValue Gets the channel that specifies the value of W in the formula: If (X compare Y), then W. Else, Z.
WConstantValue Gets the constant value of W in the formula: If (X compare Y), then W. Else, Z.
XChannel Gets or sets the channel to check for the comparison condition. This channel is the value of X in the formula: If (X compare Y), then W. Else, Z.
YChannelValue Gets the channel that specifies the value of Y in the formula: If (X compare Y), then W. Else, Z.
YConstantValue Gets the constant value of Y in the formula: If (X compare Y), then W. Else, Z.
ZChannelValue Gets the channel that specifies the value of Z in the formula: If (X compare Y), then W. Else, Z.
ZConstantValue Gets the constant value of Z in the formula: If (X compare Y), then W. Else, Z.

See Also

Log in to get a better experience