LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

case structure

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,587 Views)
Solution
Accepted by topic author Krish1988

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,572 Views)
Solution
Accepted by topic author Krish1988

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(2,568 Views)