07-11-2011 03:48 PM - edited 07-11-2011 03:49 PM
Hi,
I'm trying to cleanup a VI, and whenever I hit auto cleanup LabVIEW crashes and when retsrated it doesn't even say it previously crashed. I narrowed down the problem location to a for loop. The wierd thing is that I went through all the wires and objects within the loop and did auto cleanup on them but it doesn't crash. So why when I do it on all combined does it crash?
I wrote a comment in the loop that crashes to show which on it is.
I'm on Windows 7 LabVIEW 2010.0f2 32bit
I did see this posting http://digital.ni.com/public.nsf/allkb/599FB39777BDB12486257514005B7293, but even when doing it manually as suggested it still crashes.
Thanks,
Matt
Solved! Go to Solution.
07-11-2011 05:23 PM - edited 07-11-2011 05:25 PM
I don't have IMAQ but I opened your VI anyway. It crashed me too. Same setup with SP1.
Your VI isn't that large compared to a lot of VIs that I have seen - everything is relative. But it is much larger than it needs to be. If you can get autoclean to work without crashing on this VI you probably wouldn't like the outcome.
07-12-2011 04:39 PM
It's not that important, I just wanted to post it in case it's a bug or something.
I like to use auto cleanup because in a VI like this it'd bring stuff closer to gether so I can better reorganize it.
Matt
07-12-2011 04:43 PM
This crash corresponds to a known issue in LabVIEW (CAR #298911), which has been fixed in the forthcoming LabVIEW 2011 release. I have attached a copy of your cleaned up VI from 2011, saved for 2010. You might try to copy the block diagram into a new VI and see if that still crashes LabVIEW, but otherwise an upgrade to 2011 when it's available should clear up the problem. Hope that helps.
09-26-2011 10:58 AM
Can someone please open my VI and save it in 2010 as well? I'm having the same problem, this is murder without auto cleanup. 🙂
Thanks!
- Ken
09-26-2011 11:07 AM
A bunch of your subVIs were missing, so you may get some missing VI errors when you try to open it. All you should need to do is point LabVIEW to them and you should be all set.
09-26-2011 11:09 AM
John,
Hooray! Thank you so much! As for the missing VIs, I just didn't want to upload all of my source code. Thanks again!
- Ken
09-26-2011 11:09 AM
John,
Also, what causes this and what can I do to avoid it?
- Ken
09-27-2011 06:01 PM
Hi xkenneth86,
I'm looking in to the bug report to find out why this happens so that you can avoid it.
Tim W.
Applications Engineering
National Instruments
10-10-2011 03:19 PM
After some research I found that this was a bug related to how Sequence Structure nodes connect. Auto cleanup didn't handle them correctly and caused a crash. There may be other issues at play, however it appears as though Sequence Structures could be the primary culprit.
Tim W.
Applications Engineering
National Instruments