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: 

Pause a VI programmatically?

Solved!
Go to solution

Is there a way to pause a VI programmatically? Perhaps something similar to the Application Control:Stop object or an Invoke Node (Class:VI, Method:Abort VI)

 

Ideally, I would like a user to be able to press a button on the front panel and pause a *built* (as in .exe form) VI and to have internal logic that will pause the VI if something is repeatedly wrong during a test.

 

Thanks

0 Kudos
Message 1 of 4
(6,147 Views)
Solution
Accepted by dthor
Not unless you've coded something like a state machine that allows you to have a "pause" state. That's the only way to do it.
0 Kudos
Message 2 of 4
(6,143 Views)

Ok... I know this post is 7 years old. Things have changed. Now if you want to pause in the IDE there are break-points. Put a break-point where you want to pause. I have included an example.unit Trap.png

 

0 Kudos
Message 3 of 4
(4,756 Views)

No.  Things have not "changed".  A breakpoint is not a programmatic pause - it is something to debug in development environment.

 

The answer marked with solution is still correct.

Message 4 of 4
(4,747 Views)