LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a function on LabView so when you are done with a sub vi you can return back to the main vi while i tis running?

I went to VI properties and selecting for the front panel to open when called and close when finished, but it still doesn't close when I'm running the program.  What else can I do?
0 Kudos
Message 1 of 5
(2,521 Views)
The property is actually "Close afterwards if originally closed", so if you start with the subVI open (like if you've opened it with the editor), then it will stay open. Make sure that the only VI open is your main.
0 Kudos
Message 2 of 5
(2,514 Views)

These options do exactly what they say - they cause the subVI's front panel to open when the subVI starts running and they close the front panel when the subVI stops. This can be used, for example, for pop-up dialogs.

My guess would be that you are using the abort button to stop the VI. This is a big no-no and causes all the running VIs to stop. What you should do is use the code to end the VI's run. If this doesn't help you, I suggest you post your code (File>>Save with Options>>Development Distribution) and explain what you're trying to do.

To learn more, I suggest you read the LabVIEW user manual. Also, try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide.


___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(2,512 Views)
I am pondering what Pondered meant to ponder with a blank post. Smiley Very Happy
- tbob

Inventor of the WORM Global
Message 5 of 5
(2,497 Views)