From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

choosing only an output

Hello.... my objective is choosing only an output which will enter in a case structure....

Look at the image: I've six boolean output... one that is [0 or 1], another [0 or 2],.......another [0 or 6].

Only one input is different than zero... so that i would like to choose only that output that's different than zero... what shall i do?

 

 

Excuse for my grammar, but i'm italian.

0 Kudos
Message 1 of 4
(2,665 Views)
There are a number of ways to do this, several of which are suggested in this thread.  The actual question in that thread was different but the approach to solving the problem is the same.
0 Kudos
Message 2 of 4
(2,649 Views)
Yes, depending on what you want to do and the number you are comparing (is it in fact a DBL?) there could be different ways of doing this. Here are a couple ideas.
0 Kudos
Message 3 of 4
(2,646 Views)

Hi SenedLoos,

 

you know there is a InRange function on the comparison palette?

 

For the rest you should read Darrens nuggets they explain all kinds of case structures... (starting here with message 109)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,643 Views)