LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing VI from its Sub VI

I'm opening this vi from a larger one, and it triggers a pop-up subvi once the volume is reached, but I cannot figure out how to make the subvi close itself and this vi at the same time.

 

So process is like main vi (that i havent sent here) -> push water vi  starts-> the right number is reached - > pop up subvi going are you done? -> close both subvi and push water - > go back to main vi.

 

How do I make that happen?

Download All
0 Kudos
Message 1 of 3
(115 Views)

Why do they have to close at the same time?  Isn't it enough to close the subVI and then close the top level after?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 3
(93 Views)

Replace that silly Event structure with a Case and place the FP.close in that. Also, remove that while loop.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(59 Views)