LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview.exe has stopped working

When restarting an old computer that had been sitting off for years, I discovered that LV 7 and LV 2010 both will not run until the computer clock has been set....!   After the CMOS battery dies some computers default to an absurd date year 9999.   That alone can keep Labview from launching properly, resulting in an error dialog with the subject message.

Scott Little
1406 Old Wagon Road
Austin TX 78746
little@earthtech.org
0 Kudos
Message 1 of 5
(1,628 Views)

Hi Scott,

 

so the solution is to replace the battery on your computers mainboard…

 

(Btw. LabVIEW also offers timestamps as a datatype - and in LV2020 I can select only upto the year 3000 in a timestamp control…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,567 Views)

Indeed, GerdW, but things would have been so much better (and I would have saved hours of running computer diagnostics) if the error message had been:

 

"Labview.exe has stopped working....because the computer's date is invalid."

 

Scott

Scott Little
1406 Old Wagon Road
Austin TX 78746
little@earthtech.org
0 Kudos
Message 3 of 5
(1,523 Views)

I'm actually surprised that your computer's antivirus program and/or operating system didn't pick this up.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(1,514 Views)

@Scott_Little wrote:

Indeed, GerdW, but things would have been so much better (and I would have saved hours of running computer diagnostics) if the error message had been:

 

"Labview.exe has stopped working....because the computer's date is invalid."


Of course it would. But then who would ever think about testing that? I'm pretty sure the problem was not because LabVIEW tried to explicitly setup some time function at the moment it was dieing but rather was doing something else such as initializing some other OS interface or whatever that is supposed to be such a fundamental part of its OS interaction that its mere possibility to not initialize successfully is considered impossible by programmers since Windows then surely can't even be running and hence LabVIEW can't have been started by the non existing OS. 😀

 

Also most computers with died CMOS battery that I have seen set the clock rather to some default date instead, usually somewhere around the BIOS creation time. One old Laptop I have always starts up with some date in 1999 when it was more than a few days switched off! That has caused some applications to fail in the past but LabVIEW is happy to startup anyways.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(1,502 Views)