ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

blocking the stop exeution button

Solved!
Go to solution

hi

im runing in which i dont want the user to simply push the stop execution button but to push another one how starts a shatdown sequence

how can i block it from happening or in other words which event should i use to do so???

 

thanks

shai 

0 Kudos
Message 1 of 4
(2,969 Views)

i have made a mass .....

what i ment was that:

im runing a VI in which i dont want to allow the user to simply stop the execution.  

0 Kudos
Message 2 of 4
(2,967 Views)
Solution
Accepted by topic author shaicoh

Best practice is to hide the Abort Execution button when the VI is running. Instead, place a stop button on the front panel. Doing so, you can easily enable/disable or show/hide this button by the use of property nodes.

 

Read several times on NIs forums : Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Message 3 of 4
(2,962 Views)

Hi JB,

 

Even i am facing the same problem, so for that i had used two buttons on above the other, one for START and another for STOP. I will be making the button visible and invisible accordingly. 

I was searching if there is any other method to do the same.

 

Any solution will be appreciable,

Yogesh 

0 Kudos
Message 4 of 4
(2,828 Views)