LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI hangs when it is closed after being called from a main.vi via the start asynchronous call method

Solved!
Go to solution

Hi all,

 

I have a main.vi which successfully loads a subvi.vi using the x100 option and Start Aysnchronous call method.

 

When the subvi is finished its exectution, the window remains, no controls can be used and it is truely hanging. It require a complete kill of labview.exe to resolve. 

 

Note: The subvi runs and closes without issue when run directly..

 

Do I need to put any code in the subvi to close it in some special way because it has been opened via the Start Aysnchronous call method?

 

Tom

0 Kudos
Message 1 of 3
(2,397 Views)

Sorry I mean using the x80 method!!

0 Kudos
Message 2 of 3
(2,394 Views)
Solution
Accepted by topic author t.mcgregor

Sorry, I am an idiot, it turns out the problem was that I had queues insode both the main and subvi with the same names!

 

All good now

0 Kudos
Message 3 of 3
(2,386 Views)