LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Front panel not closing

Solved!
Go to solution

Hello, my program runs with a VI (1) that eventually opens another VI (2), and VI (1) should close. The problem is that VI (2) opens, but VI (1) remains open and that frame doesn't execute. What should I do to make it work as intended?

0 Kudos
Message 1 of 2
(107 Views)
Solution
Accepted by topic author electronic_lab

That is because VI 2 must complete before the next frame can execute. Look into dynamically calling VIs. There are a few ways to do this. I prefer using the Start Asynchronous Call for these situations where you want a new VI to run independently of the calling VI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(102 Views)