ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Only output a single value from a nested case structure

I am reading a barcode and based on which bars are present, I want to assign a value. I have set up nested case-structures to assign values for each of the possible set-ups of bars that are present. Now i am trying to figure out a way to only output the value of the one case that is true. Is there any way to do this? 

0 Kudos
Message 1 of 2
(2,970 Views)

It would help your cause if you showed us your code.  But it sounds like you do not need nested case structures.  You can have a number or a string be used for the case selector and you can have a lot more than 2 cases for a single case structure.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,946 Views)