02-02-2016 04:12 AM
Hi,
I am using case structure for browsing path from my pc. Basically i am using two separate browsing option which have same labview code. The problem is each time after loading the path its not letting me to edit or load another path. For loading new path i need to stop the program and re run it again. I guess it must be because of case structure which does not exit. Please look at the attachment.
Note: In attachment both loops are identical. For your information i copied true and false loop separtely.
Any help is appreciated.
Thanks
Solved! Go to Solution.
02-02-2016 04:19 AM
James,
please learn about the very basics of LabVIEW: Dataflow.
The code your screenshot shows does EXACTLY WHAT YOU TELL IT TO DO. That is why you cannot change things.
I recommend you to learn about basic STATEMACHINE architecture as this is what is the simplest solution for your request.
Norbert
02-02-2016 04:21 AM - edited 02-02-2016 04:21 AM
Hi James,
For loading new path i need to stop the program and re run it again.
That's how you have programmed it…
I guess it must be because of case structure which does not exit.
Why do you think so? Which "case structure" doesn't exit?
And why do you guess at all? Didn't you use debugging tools to examine your VI?
Why don't you enable the browse button of your path control? It should provide an easy option to change the path…