LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case Structures in LabVIEW 8.5

Is there any way to have a case structure based on different file paths?  In the VI I'm creating, there are limited number of files that a user can read in and I want to have different cases depending on which file path they chose.
 
Hopefully this question is worded well enough for you to understand what I am asking for. 
 
Thanks! 🙂
0 Kudos
Message 1 of 5
(2,966 Views)
Don't know what your paths look like, but you could do something simple, like this:





Message Edited by smercurio_fc on 06-11-2008 01:21 PM
0 Kudos
Message 2 of 5
(2,964 Views)
That's exactly what I needed.  Thanks!
0 Kudos
Message 3 of 5
(2,954 Views)
I am assuming that with "different file paths", you mean different files in the same location. Is this correct?
 
Let's assume that all the files are in the same location.
In this case you could also just strip the path and wire the filename to the case structure.
 
It is somewhat better self-documenting. 🙂
 




Message Edited by altenbach on 06-12-2008 12:56 PM
0 Kudos
Message 4 of 5
(2,916 Views)
Thanks but the files aren't in the same location.  It's a good idea though.
0 Kudos
Message 5 of 5
(2,895 Views)