Returns one of two specified values depending on a Boolean value.
true value
Value that this node returns if selector passes a True value.
true value and false value must be of the same base type, but they can have different numeric representations.
This input supports all data types.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.
selector
A Boolean value that determines whether this node returns true value or false value.
True |
This node returns true value for value. |
False |
This node returns false value for value. |
If you wire an error cluster to selector and an error occurs, the error cluster passes a True value to the node. Otherwise, the error cluster passes a False value to the node.
false value
Value that this node returns if selector passes a False value.
true value and false value must be of the same base type, but they can have different numeric representations.
This input supports all data types.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.
value
Value wired to true value or false value depending on the current value of selector.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.
Where This Node Can Run:
Desktop OS: Windows
FPGA: All devices (only within an optimized FPGA VI)
Web Server: Supported in VIs that run in a web application