LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview case structure ..

I have two VIs. They are identical. However, one has a .. after the default case number. (i.e. 16.., Default). and the other one does not. The one with the .. works correctly, but the one without the .. does not. When I add the .. to the one that doesn't work, it works. What is this .. ?

Ok, I have now deleted the .. and the program is working fine. I've been working on this for 3 days and nothing has changed except that one thing. Now even when it's gone, the program works. This is as bad as defer decision when saving. It doesn't make any sense.

Message Edited by rlg50 on 08-29-2007 04:19 PM

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

In a case structure, the two dots mean from one item to the next.  For instance, with numbers:

..4 means all numbers less than and including 4

1..6 means numbers 1 through 6

8.. means number 8 and above

For strings, "A".."C" means the letters A, B, and C.  Letters use ASCII codes as a means of matching so ..A will match every character from ASCII 0 (unprintable) to ASCII 65 (A).

Message Edited by tbob on 08-29-2007 02:27 PM

- tbob

Inventor of the WORM Global
Message 2 of 2
(2,545 Views)