"Yonatan Tidhar" <[EMAIL PROTECTED]> wrote:

>Yes I thought so, but way should the execution should be depend
>Were the front panel is open or not? No meter if I leave open reference to the VI
>I was expect that the vi execution will continue until the code ends.

Simply because it is way to easy to close the top level front panel (x in
top right corner of window for instance) and if an open reference, which
was forgotten by the programmer, would keep the VI alive, you would end up
with zombie processes. Basically it is protection of the (not so innocent)
average LabVIEW programmer, who does not want to deal with proper resource
deallocation once he is done with what he wanted to do.

You can work around this by keeping a top level VI which starts up all the
rests and gets neatly hidden by moving it off screen.

Rolf Kalbermatter
CIT Engineering Nederland BV    tel: +31 (070) 415 9190
Treubstraat 7H                  fax: +31 (070) 415 9191
2288 EG Rijswijk        http://www.citengineering.com
Netherlands             mailto:[EMAIL PROTECTED]
 


Reply via email to