Jump to content

Select function: Difference between revisions

From LabVIEW Wiki
Add new page (stub)
 
Added detail
 
Line 1: Line 1:
{{stub}}
{{stub}}
The '''Select function'''...
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Comparison{{!}}Comparison palette|type=function|icon=Comparison Palette - Select.png}}
[[File:Select function.png|thumb|Select function]]


{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Comparison{{!}}Comparison palette|type=function}}
The '''Select''' function 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'''.
{{TOCright}}


== Usage ==
== Usage ==
 
{{ambox|text=Specific use cases for this function.}}
== Best practice ==


== Tips and tricks ==
== Tips and tricks ==
Line 13: Line 12:


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
! Version
! Change(s)
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|More info to come.
|}
== See Also ==
{{ambox|text=Add links to internal resources that would also help.}}


== See also ==
== External Links ==
 
{{ambox|text=Add links to external resources that would also help.}}
== External links ==


[[Category:Comparison Palette]]
[[Category:Comparison Palette]]

Latest revision as of 17:07, 28 September 2020

Object information
Owning palette(s) Comparison palette
Type Function
Requires Basic Development Environment
Icon

The Select function 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.

Usage

Tips and tricks

  • Wire an error cluster to the selector terminal to conditionally output a value.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links