07-21-2007 03:43 PM
07-21-2007 06:18 PM
..999Alternately you can use comparison functions with nested boolean case structures. (I prefer the first solution - less complicated.)
1000..1999
2000..2999
3000..
07-22-2007 12:36 AM - edited 07-22-2007 12:36 AM
Message Edited by altenbach on 07-21-2007 10:37 PM
07-23-2007 02:03 AM
Hi Altenbach,
Atleast in LV 7.1, it is NOT allowing to add the case "1,2" after adding the case "..1". It tells that the case structure values are NOT unique.
Please see the attached VI & clarify me...
07-23-2007 02:08 AM - edited 07-23-2007 02:08 AM
Sorry, the first case needs to be "..0" of course. You cannot have the "1" in two different cases.
Your lower case structure is also wrong, because you have overlapping ranges. For example an input of 0 will match both "..1" and "..2". Right? For any given input, there can only be exactly one matching case or you get an error.
Message Edited by altenbach on 07-23-2007 12:08 AM
07-23-2007 12:37 PM
10-20-2015 08:59 AM
Hi guys,
I want to have a case structure with two cases one is when the number is infinity and else, can you give me ideas how to do such a case structure thank you
10-20-2015 09:17 AM - edited 10-20-2015 09:18 AM
Question was put into a new thread:
Please proceed discussion there.
Norbert
10-20-2015 10:11 AM - edited 10-20-2015 10:12 AM
You can type "inf", "-inf" into float numerics. Also there are special constants in numeric palette. Then comparison function
PS I would start a new thread, ksm is very surprised now, his 8 years old question...