09-10-2010 08:36 AM
Hi all,
recently I have just started seen really weard behaviour with my LabVIEW software package. I am using evaluation version 9.0 on 32-bit Windows 7. The program just randomly shuts down and I cannot find a trend. It does not matter whether the VI is running or just sits in edit mode, the exit occurs at any time, under any circumstances, at random time intervals. I am very puzzled as to why such behaviour occurs. I have 11 or 12 versions of the same project, and I have gone to previous 4 to verify that the frantic behaviour still persists. Thus, entirely shifting the responsiblity to LabVIEW software on this one. Please give me some ideas as to how to resolve this problem, because when LabVIEW exits all my unsaved work disappears, which is very frustrating.
Thank you.
Vitkar
09-10-2010 08:41 AM
Oh one more thing that I forgot to mention. When I start the program again, the notification of an internal error pops up. However, the errors are always random as well, such as error in window.cpp, drawmgr.cpp, and other.
09-10-2010 09:24 AM - edited 09-10-2010 09:24 AM
Welcome to the world of seeing LV disappear into oblivion and coming back and telling to which bar it went.
By the way, it might be a nice moment to start using SVN: http://tortoisesvn.tigris.org/
09-10-2010 09:42 AM
It's possible you have a corruption of the LabVIEW install. I would suggest running a repair first. If that doesn't work, completely uninstall LabVIEW (you can use Revo Uninstaller and msiblast to completely clean it out) and then reinstall it.
You may also want to check your hardware drivers are up to date, especially your video drivers.
09-10-2010 09:47 AM
smercurio_fc thanks for repply. I have deleted the LabVIEW and cleanly reinstalled, but that did not seem to work. Every since I have posted this question though, the LabVIEW has not crashed yet (have been running for an almost 2hr now). I have not made any changes in software, drivers or anything like that. Maybe there are LabVIEW gods out there after all. This is bazaar.
09-10-2010 12:09 PM
It hasn't crashed because it knows you are talking to us! It is like going to the doctor with a pain, when you get there it is gone and you can't describe it exactly!
09-10-2010 12:35 PM
LabVIEW is a nice program, but it has grown size in the last years. Which means that there are really nice fancy features and options, but also that bugs have arisen. When you do normal programming it can happen that somewhere a bug arises. It can happen that when it's stored in your project, you can't open your project anymore, or if it's in a VI, LV crashes when running the VI.
These exits happen unexpected, but are often repeatable. There can be many reasons for it, it can be your fault or NI's fault. The main thing is not to point fingers at people, but rather make sure you have a proper back up (svn) and save/commit your files regularly. When it happen, restore one of your files or your project and start over.
Good luck!
09-10-2010 12:58 PM
Save often. There should be a folder under "My Documents" called "LabVIEW Data" where it will put the failure logs. I know that the crash message when you relaunch LabVIEW seems random, but look at these and see if there is any thing in common. There is a hidden folder (in WinXP Pro, don't know for Vista/Win7) that contains teh data from Dr. Watson crash files, if they were created, I can't remember the folder name, am late for a meeting.
09-13-2010 08:28 AM
Hey LV_Pro, I have taken look at the log files that LabVIEW generates upon the crash. All files contain the following note:
c:\builds\penguin\labview\components\LVManager\trunk\10.0\source\drawmgr.cpp(3572) : DAbort: Couldn't create 24 pen Error ==0
Any ides what this could mean?
Thanks.
09-13-2010 08:47 AM
I also dived into this error log and I think I've found the most hilarious error message:
25.08.2010 09:59:57.392c:\builds\penguin\labview\branches\2010\dev\source\panel\fpsane.cpp(442) : DAbort: Fatal insanities(0x00000008) exist in ReportInsanities, 'FPGAMG100125AODFrameScan_PXI7813R.lvclass:initialise.vi: My Computer'$Id: //labview/branches/2010/dev/source/panel/fpsane.cpp#7 $