LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop a while loop ?

I couldn't run your VI because a couple of VIs are missing but what I was able to see made me think that the best solution to your problem was to use a better architecture. If you have 6.1m then you can easily implement what you want with the event structure. Another method and one that works in all versions of LabVIEW is to use a state machine. There are shipping examples of both and additional examples at the NI Developer Zone. If you enter state machine into the search box, you'll find a lot of information.

Also, if you post all of your code, I or someone else could modify it so that it would work.
Message 11 of 16
(1,091 Views)
Here we go. See attached zip file.
Or use the files in the lower reply.

Greetings ALEX
0 Kudos
Message 12 of 16
(1,091 Views)
Thanks a lot. I will give it a try.

Here´s all of my code.
Download All
0 Kudos
Message 13 of 16
(1,091 Views)
Hi,


Try this solution using Event Loop - does required Labview 6.1.

Note I have only implemented one of the buttons.

Regards
Ray Farmer
Regards
Ray Farmer
Message 14 of 16
(1,091 Views)
Thanks a lot, you made my day.
Sorry, I know it was a simple question, that´s the reason why I am so thankful for your quick answer.
0 Kudos
Message 15 of 16
(1,091 Views)
Hi,

Its usually the simple tasks that cause the biggest headache...

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 16 of 16
(1,091 Views)