In article <50650000000800000004AE0000-1066448259000@exchange.ni.com>,
"Eldon Skousen" wrote:
> We can dynamically open VIs with VI server....Is there a way to
> dynamically close the whole VI (not just the front panel)?
What I do when dynamically calling reentrant VIs is use the rendezvous
library to let me know when the vi has finished (can't use FP with
reentrant vis). This way I can load thousands of them into memory and not
worry about closing the ref at the wrong time, like while the vi is
running.
That may be useless advice if none of your vis are reentrant. Sounds like
in your case, you should just follow DD's instructions by closing the vi
ref after you close the front panel. If you're having trouble keeping
track of your refs, just us
e globals. Let us know if we misunderstand
your problem.