Hi,
In the run method, you can select "auto dispose", and don't wait for it to
finish.
In the VI, you can use the Front Panel.Open property, without a reference
attached to it. By default, LabVIEW will use a reference to the calling VI.
Remember that the template instance will remain in memory until all
references are closed.
Regards,
Wiebe.
"VanessaB" wrote in message
news:50650000000500000037B80100-1079395200000@exchange.ni.com...
> Thank you for your answer.
> My next question is if I run a VIT ( since I don't know how many times
> this VI will be called ) using the run method, from the main program,
> I can't close the reference using the output reference just after the
> run method since it would close the front panel o
f the subvi. Is it
> possible to get the reference of a vit which has been opened by the
> run method, inside its diagram, so I can use the VI close reference
> inside an event structure "close front panel" ?
> Thank you for your answer !"