LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close a VI template

My VI works well, however when the .vit opens front panel, this doesn't close with the button "CLOSE" because the program has been stopped. It seems as the vi template executes and stops. I don't know how use the button "CLOSE" to close front panel while the pop up is running and, at the same time, appears severals pop up (each pop up for each number).
 
Vicen
WinXP / LV7.1
 
thanks
0 Kudos
Message 1 of 4
(2,467 Views)
sorry, this is the good file.
0 Kudos
Message 2 of 4
(2,465 Views)
Use the method run on the .vi reference inside the main vi
Use a event case inside the .vit that waits on the stop button, then close the reference and the fp
One tip: wire the value in the .vit straight into the case selecter and add for every range another string.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 4
(2,461 Views)

Thanks, I've solved my .vit

I don't know where insert method "run VI". I have to replace "call by reference node"? I thought "Run VI" used with weakly type VI reference (at least in all example I see).

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