From 12:00 PM - 4:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Select (G Dataflow)

Last Modified: January 12, 2018

Returns one of two specified values depending on a Boolean value.

connector_pane_image
datatype_icon

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.

datatype_icon

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.

datatype_icon

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.

datatype_icon

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


Recently Viewed Topics