10-20-2008 01:29 PM
My basic setup is that I have a caller vi calling a subvi. However as the caller vi is looping i would like it to call the subvi and not wait for it to finish its execution. Except i would like it to go to the next loop and then call the previous instance of the subvi to check on the progress.
I have attached some example vi sto show m point, where the caller_vi.vi calls the subvi.vi to bgein exectution. Basically i would like it to call the subvi to run independantly and while it is running the caller vi can keep calling it to check on the vairables 'x=1' and 'numeric3'. However if the subvi has finished running then it should begin another execution again when called from the caller vi
Thanks
Ps. I have played around with the reentrant options and Run vi methods to no avail so far
10-20-2008 02:37 PM
All this make very little sense.
There are many solutions, but it is not clear what you actually want. Could you describe the problem in a bit more detail?
You could run the subVI independently and show/hide its FP as needed, for example.
10-20-2008 03:09 PM
Yeah the vi's I attached weren't the latest copies. So I have attached them again.
As for what I need:
I hope that makes things clearer
10-21-2008 09:27 AM
I guess nobody had been able to find a response to this yet but I have managed to adjusts my vi to give a better indication of what I need. The vi's basically accomplish the requirements I was looking for however I am wondering if this is the best way to go about it or if there is a better more professional way.