Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview closes on its own during the execution without any error message

I design an application with Labview 7.0 in order to measure currents and save the results in an excel sheet file.
I drive the multimeters for the measures via a GPIB interface and use the report generation toolkit to write the results in the excel file.
But Labview shuts often on its own without any error message. The excel sheet is still opened and no error message is displayed on the multimeter. When trying to open a VI, an error message box appears ("Labview.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created"). Pressing the button OK, leads to another error message that reads "Cannot find the file [filename] or one of its components."
Mass compiling the VIs was efficient. Can you explain what happened and how to solve it?
Thanks
0 Kudos
Message 1 of 2
(2,710 Views)
This is probably a severe bug.
A crash without error message, neither by Lv itself nor by the OS is not so common.
You may send a bug report to NI. But resolving the bug will take _some_ time and might cause you some work as well.

An alternative is to try to create your code newly from a fresh and clean VI. This is some work as well, but you rely just on yourself.
You may as well try to create a new main.vi and copy all of the components of your existing main.vi to the new one.

Just my € 0.02!
Greetings from Germany!
--
Uwe
0 Kudos
Message 2 of 2
(2,708 Views)