Conditional Members
- Updated2023-02-21
- 8 minute(s) read
The Conditional type exposes the following members.
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| Downcast | Casts CalculatedChannel to a more specific type. (Inherited from CalculatedChannel.) | |
| Equals | Determines 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.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetParent | Gets the parent node of this node. (Inherited from BaseNode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates 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.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| 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. |