LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to tell which VIs are running?

Solved!
Go to solution

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?

0 Kudos
Message 1 of 19
(3,615 Views)

If you turn on the light bulb on the block diagram you should see a green arrow on a vi that is still running.

Tim
GHSP
0 Kudos
Message 2 of 19
(3,614 Views)

How do you start your subvi's ?

 

How do you stop your main vi ? ( I hope not by the Abort button)

0 Kudos
Message 3 of 19
(3,600 Views)

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.

0 Kudos
Message 4 of 19
(3,598 Views)

@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?

0 Kudos
Message 5 of 19
(3,586 Views)

Can you attach your code here so that we can help figure out your problem without guessing.

Tim
GHSP
0 Kudos
Message 6 of 19
(3,586 Views)

Normally, VI which is displayed is running.

If you want VI to work at the same time, open files I upload

0 Kudos
Message 7 of 19
(3,583 Views)

@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.

0 Kudos
Message 8 of 19
(3,569 Views)

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

0 Kudos
Message 9 of 19
(3,567 Views)

can you post your code? That would make it a lot easier to help.

Tim
GHSP
0 Kudos
Message 10 of 19
(3,565 Views)