LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW does not start.

During startup the following error window occurs:

-----------------
Program Error
LabVIEW.exe has generated errors and will be closed by Windows. You will need to restart the program.

An error log is being generated.
-----------------

I was working in the Edit Palette Views when LabVIEW shut down. Then I have continued to get this error. I uninstalled LabVIEW 7.1 and then reinstalled it to no avail.

Thanks for your help
0 Kudos
Message 1 of 3
(3,054 Views)
Bad menu palettes can bring LabVIEW to it's knees. They are tricky beasts that must be treated with care and respect. And once your custom menu setup has gone bad, your best bet is to delete it and start over.

The currently selected menu for LabVIEW is specified in the LabVIEW.ini file that is located in the root directory of your LabVIEW installation. (.../National Instruments/LabVIEW x.x/LabVIEW.ini)

If you uninstalled LabVIEW, but didn't delete the "LabVIEW x.x" directory, the original .ini file will still be there because it's been modified since it was installed. Default behavoir for an uninstaller is to leave any modified files there, since the user may want them. So your freshly installed LabVIEW is still using the old .ini most likely.

O
pen the .ini file and look for a line that starts with menuSetup="xxxx". You can either delete this line, or change the bit inside the quotes to a know good menu setup. Try 'advanced' or 'default'. If you just delete the line, LabVIEW will rewrite it next time it starts with 'default' as the setting.

If you want to try and save you custom menu, look in the 'menus' directory under the root of .../National Instruments/LabVIEW x.x/ for a directory with your custom menus name. Look inside that directory and start moving the .mnu files out of the directory one at a time, then try to start LabVIEW. If it starts, you've found the offending file. If it won't, put that one back and try another one and try LabVIEW again. Keep doing this and you may find the bad file. Of course it could be a combination of files, so keep that in mind.

Good luck

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(3,054 Views)
Ed, It worked!

I uninstalled LabVIEW 7.1 and then deleted the LabVIEW 7.1 directory (after a quick shut-down). After reinstalling, LabVIEW opened correctly. Yeah!

Thanks.
0 Kudos
Message 3 of 3
(3,054 Views)