LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW crashes during editing sessions.

It seems almost inevitable that when I am editing a VI and forget to save it for longer than 10 minutes I will hear the hard drive come to life and then "LabVIEW has encountered a problem and will be closed" or some similar message is displayed.  This has happened far too many times.  Has anyone experienced a similar situation?  I'm trying to attach a screen shot of a similar crash; that doesn't seem to work either, what a surprise.
----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 1 of 20
(3,655 Views)
Hi Mr. Toad,
 
If you could get the error text or a picture of the pop up, that would help in finding a source for the issue.
 
You mentioned you hear the hard drive making noise right before the crash. Do you think it is caused by the LabVIEW crash or does it seem to be prior to the crash?
Sappster
0 Kudos
Message 2 of 20
(3,637 Views)
I've had this happen to me. For me it had something to do with my modifying and running code that was opening but not closing either VI references or IMAQ image references. (It wasn't my code! HONEST! And I fixed it.) I wish I could be more helpful except to let you know that it's not unheard of.
PaulG.
Retired
0 Kudos
Message 3 of 20
(3,633 Views)
I had similiar problems. It seems when the crash occurs I would reboot windows. This would reduce the frequency of the crashes. You might want to check how much physical memory you have on the machine. I have 1 Gbyte.
0 Kudos
Message 4 of 20
(3,630 Views)

Crashing at a regular interval (while saving?) seems to point to the automatic save function kicking in.  May not be related..  Just interesting to note.  I don't think it kicks in when you manually save the file (resets the timer). 

Are you using IMAQs as Paul mentionned?

RayR



Message Edited by JoeLabView on 06-04-2008 08:37 PM
0 Kudos
Message 5 of 20
(3,613 Views)

My gut feeling is that LabVIEW was up to something and stubbed its toe.  I'm not sure.  It's not like I had a whole bunch of other apps running.  I'll try again to attach a screen shot similar to the most recent crash.  The most recent crash actually generated a Windows error report. 

----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 6 of 20
(3,584 Views)
I only have 512M on this machine (my laptop).  My "real" computer has 4G, and Vista, which LabVIEW 8.0.1 does not agree with.
----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 7 of 20
(3,577 Views)
It acts like it might be auto-saving (a feature I didn't know existed).  I've lost too much code to have much faith in that process.  It seems that if I actually remember to save my program every ten minutes or so the stupid thing never latches up.  But if I forget, I pay.  I am not using IMAQ or any "add-ons" other than the OpenG libraries.  I am communicating with a control system via VISA serial.
----------------------------------
LabVIEW 8.0.1; WinDoze XP
aut viam inveniam aut faciam
0 Kudos
Message 8 of 20
(3,574 Views)

You can turn off the auto save feature... not recommended, but can be done, or extend the time to 20 minutes 😉  It's inside the options settings.

RayR

0 Kudos
Message 9 of 20
(3,566 Views)
Hi BadToad,
 
I would recommend disabling the autosave from the options menu. If that stops the crashes then we know that the issues lies in the autosave actions. To access the autosave options navigate to Tools » Options » Environment.
 
Can you try making a basic VI with just a control and indicator (no functions or subVIs) and see if the same events occur?
 
Keep me updated on your progress.
Sappster
Message 10 of 20
(3,542 Views)