Select Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Comparison Functions

Requires: Base Development System

Returns the value wired to the t input or f input, depending on the value of s. If s is TRUE, this function returns the value wired to t. If s is FALSE, this function returns the value wired to f.

The connector pane displays the default data types for this polymorphic function.

t is the value that this function returns if s passes a TRUE value. t and f must be of the same type, but they can have different numeric representations.
s determines whether the function returns the value of t or f in s? t:f. If you wire an error cluster to s and an error occurs, the error cluster passes a TRUE value to the function. Otherwise, the error cluster passes a FALSE value to the function.
f is the value that this function returns if s passes a FALSE value. t and f must be of the same type, but they can have different numeric representations.
s? t:f is the value wired to t if s is TRUE. s? t:f is the value wired to f if s is FALSE.

WAS THIS ARTICLE HELPFUL?

Not Helpful