LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stopping two loops simultaneously

How do I stop two loops in my VI simultaneously? I've tried using a local variable, runs perfectly the first time, and stops immediately the second time. Can someone help me pls? thanks
0 Kudos
Message 1 of 5
(1,490 Views)

Hi Flibberty...,

you have to set your stop button back to false.

 

Mike

0 Kudos
Message 2 of 5
(1,466 Views)
is there any way to do it automatically?
0 Kudos
Message 3 of 5
(1,456 Views)
  1. Make the stop button "latch action". This way it will reset automatically once read by the code.
  2. Delete the local variable. You don't need it.
  3. Place the terminal inside the loop on the left, replacing the local variable.
  4. Add a stop event case to the event structure. You don't need the terminal here.

 See attached.

 

You still have some horrible code constructs. I thought we gave you some advice quite a while ago.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 5
(1,455 Views)
thanks for the help.. i still havent really got the grasp of labview yet.. 
0 Kudos
Message 5 of 5
(1,406 Views)