LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One VI with Two Stop Buttons

Solved!
Go to solution

I have a single VI that shows two stop buttons on the Front panel. My block diagram is fairly simple with 2 While loops and one For loop. Where did the second stop button come from? Why is the second stop button there? How do I delete the second stop button?

0 Kudos
Message 1 of 3
(2,715 Views)

Hi,

when u put two while loop. automatically two stop button will come.

but if u dont want then delete any one and Creat local variable and connected to the second loop.

Error will come. Like mechenical action invalide.

Then you right click on stop botton and select mechenical action as pressed when latch.

i hope this will help you

 

CLAD
Labiew programmer
0 Kudos
Message 2 of 3
(2,709 Views)
Solution
Accepted by topic author dbaechtel

@brijesh wrote:

Hi,

when u put two while loop. automatically two stop button will come.

 


Not always true. It depends which part of the pallete you select the while loop from. I can't,however, remember the name of the part of the pallete where it automatically puts the stop button. There are also better ways to stop parallel loops like queues or notifiers if you have more than 2. Or, action engines (I always throw this in to save Ben from having to post!)

0 Kudos
Message 3 of 3
(2,704 Views)