> Thank you for your comment Nadav, but maybe I wasn't clear enough.
> The vi I want to run in the background is not actually a sub-vi, it is
> a standalone vi that I want to run in parallel with the calling vi.
> To achieve this it must be called dynamically using the application
> control vi's. I would like the vi to be called so that it runs
> without the FP being displayed, and also without the vi appearing on
> the task bar.
> Maybe this is not possible, but I thought there may be a way.
>
> If you have any further ideas, I am very grateful,
You don't mention what version of LV you are using, but the Application
Control VIs are pretty old, circa LV4.1. The updated way of doing this
allows for more control and lots more options too.
If you have the VI
server, then what you want to do is to open a reference to the VI, then
you can either use the Call by Reference or the Run method on the VI.
If using run, then make sure to keep the reference open until the VI
completes, either in the caller, or in the callee. In otherwords, you
can either have the called VI open a reference to itself to keep it in
memory, or you can arrange for the caller to keep the reference.
When a VI has no references to it and its panel is closed, it is
automatically aborted.
Greg McKaskle