LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How parent window close, son window still alive

I am trying to design like this.

 

When a.vi close. Before a.vi die, a.vi will call out b.vi.

When a.vi die, b.vi still alive.

 

I tried before compile is ok. But after compiled whole into exe, seem b.vi not come out.

Any suggestion?

 

Actually this is used to update the a.exe itself. When a.exe run up and found itself has new version, it will terminate it self and call out b.vi. B.vi will download the new version a.exe and overwrite the old a.exe. And then b.vi call out the new a.exe and terminate b.vi. All finished.

 

 

Download All
0 Kudos
Message 1 of 3
(2,619 Views)

Hi turbot,

in the executable all vi's lie side by side. Check the path to b.vi. Did you insert b.vi into the dynamic loaded vi's section (inside the application builder)?

 

Mike

Message 2 of 3
(2,614 Views)

I would use System Exec to call the compiled .vi's, then a property to close the current vi, just like i do in my splash screen example.

 

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 3
(2,602 Views)