LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

regards to the case structure functioning.

My question is in regards to the case structure functioning.

The numeric value input to the case selector can only be an integer?

 

I wish to input a real number into the case selector, is this possible?

 

 

0 Kudos
Message 1 of 4
(1,288 Views)

You can input DBL as well, but it will get coerced to an integer so I would not do that. Your cases can be a range of integers as well, like "1..10". Do you have a specific example of what you need your cases to correspond to?

0 Kudos
Message 2 of 4
(1,277 Views)

that's okay thank you- I was just curious- I got a number of ideas how I can get around not having that...

 

thanks very much

0 Kudos
Message 3 of 4
(1,263 Views)

I'm not sure what you are trying to do, but remember that you should NEVER check equality with reals.

0 Kudos
Message 4 of 4
(1,254 Views)