08-24-2010 06:20 AM
When I stop my Main.vi, all the subVIs should be stopped. But when I go to close my project, it says some VIs are still running? How can I tell which VIs are running? Where can I get a list of these?
Solved! Go to Solution.
08-24-2010 06:27 AM
If you turn on the light bulb on the block diagram you should see a green arrow on a vi that is still running.
08-24-2010 06:39 AM
How do you start your subvi's ?
How do you stop your main vi ? ( I hope not by the Abort button)
08-24-2010 06:42 AM
But my Main.vi has stopped. So nothing in Main.vi should highlight, because all subVIs should have stopped before Main.vi stopped.
I am not sure that any subVIs are running, but LabVIEW 2010 says they are when I go to close the Project. It may be confused.
08-24-2010 06:49 AM
@dkfire wrote:
How do you start your subvi's ?
How do you stop your main vi ? ( I hope not by the Abort button)
I start my subVI's by using them in the block diagram of Main.vi or one of its subVI's.
I stop my Main.vi by using the Stop button to set a global Terminate Boolean variable, which causes all of the subVIs to Stop, which eventually lets Main.vi to end execution. This seems to work OK.
If Main.vi can not stop execution until all of its internal subVIs have stopped, why does LabVIEW 2010 report that some VIs are running (when I go to Close the Project) after Main.vi has stopped?
How do I get a list of any running VIs so that I can track this down?
08-24-2010 06:49 AM
Can you attach your code here so that we can help figure out your problem without guessing.
08-24-2010 06:51 AM - edited 08-24-2010 06:52 AM
Normally, VI which is displayed is running.
If you want VI to work at the same time, open files I upload
08-24-2010 07:03 AM
@Jemin wrote:
Normally, VI which is displayed is running.
If you want VI to work at the same time, open files I upload
I don't understand what you are saying.
08-24-2010 07:07 AM - edited 08-24-2010 07:10 AM
I thought you want VI work at the same time..
If it's not, just my misunderstanding...
Normally displayed VI is runnign and other are stopped.
But I'm not sure so if you upload the VIs, people can see it
08-24-2010 07:08 AM
can you post your code? That would make it a lot easier to help.