Minh Pham Posted February 12, 2013 Report Share Posted February 12, 2013 Have you ever being frustrated by getting your project stuck after you running it and realized that you forgot to close one (or few) of your model style subvi(s) (which show front panel when called) ? You can not do anything on your main front panel as the model vi is in front of everything and you can not stop it either! All you can do is to kill LabVIEW and re-open the project. I believe that LabVIEW should has an option to stop anything, anywhere,anytime when you are in the development environment. This has always been an issue since I started using LabVIEW. Please add a method to the next version of LabVIEW such that developers can stop thing like this from happening. 1 Quote Link to comment
justingruenberg Posted February 12, 2013 Report Share Posted February 12, 2013 I agree. An option would be nice. What I do to avoid this is not set any of the UI settings in the VI that would prevent me to close it in the development environment. I make those changes in the build specification, so they happen only in a deployed executable. The downside is if you reuse that VI in multiple executables, you need to duplicate the settings multiple times... but I think it makes my life, overall, easier. Quote Link to comment
Yair Posted February 12, 2013 Report Share Posted February 12, 2013 Why are you posting this here? This belongs in the LV idea exchange over at NI. Before you go posting there, be aware that it was already suggested several times. The popular one is here, so you can vote for it - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Abort-all-VIs-Button-in-Taskbar-Modal-Windows-Problem/idi-p/1472808 Also, if you read the comments, you will find links to several tools which already help you with this today. Quote Link to comment
Minh Pham Posted February 12, 2013 Author Report Share Posted February 12, 2013 Sorry, i dont look at NI developer zone. The solution there is ok but doesnt work for clone vis as mentioned. I prefer a native LabVIEW function for this purpose. Im very surprise that this is still not available after 5 years of playing with LabVIEW I will vote to push this feature forward. Thanks Yair Quote Link to comment
twols Posted February 12, 2013 Report Share Posted February 12, 2013 Sometimes Ctrl+. helps. And you can almost always close the parent vi using the task bar context menu and it will terminate the blocking sub vi. Quote Link to comment
hooovahh Posted February 13, 2013 Report Share Posted February 13, 2013 Sometimes Ctrl+. helps. And you can almost always close the parent vi using the task bar context menu and it will terminate the blocking sub vi. This won't work if the SubVI isn't being called in the code yet and is just in memory. I believe this is the situation Minh was describing. I've used several AbortVI functions in the past to be able to abort any VI running (not a close at the moment). Quote Link to comment
JiMM Posted February 13, 2013 Report Share Posted February 13, 2013 :lol: I can't believe that it wasn't until I was reading the last posting that I realized he meant modal VI. I was thinking what the heck is a model VI? Quote Link to comment
Minh Pham Posted February 13, 2013 Author Report Share Posted February 13, 2013 oh crap, how do i edit my typo? Quote Link to comment
Bjarne Joergensen Posted February 14, 2013 Report Share Posted February 14, 2013 Hi Can these VIs help you? I think it was Aristos Queue That posted it a while ago 8_2_1 LV Abort VI.vi 2012 LV Abort VI.vi Regards Bjarne Hi Here is another one http://lavag.org/topic/11674-cr-abort-vi/ /Bjarne Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.