LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiled code crashing on startup

This little problem has been cropping up for awhile now and I'm hoping someone here might be able to shed a little light on it.

This particular problem is only happening after a program is compiled.  But that, all of these programs are completely crash-free.

The only time we see the problem is when the compiled program is first started.  It also seems to happen sporadically.  Only sometimes.  Not all the time.  

One programmer here thinks it may have something to do with us using LV 7.1 as opposed to LV 7.1.1

We really would like to find a solution for this.  Although all of our programs seem to run fine once they start; It doesn't look good for them to crap out like this every few times they start up.

This is what pops up after the crash.




And this is what you see if you choose to "investigate".




Does anyone know what might be causing this?

Message Edited by pallen on 10-25-2007 02:26 PM

---------------------
Patrick Allen: FunctionalityUnlimited.ca
Download All
0 Kudos
Message 1 of 4
(2,765 Views)
LabVIEW is always "compiled", you are probably talking about a built application. Do you get the same crash also if you run it on the same computer that you used to develop the code?
 
Does the code use any third party DLLs or drivers?
0 Kudos
Message 2 of 4
(2,758 Views)
Sorry for the confusion.  I did mean "built" programs. 

In this case the screenshots were taken from a PC that was used to develop the software as well as run the executable. 

This particular project does use Xantrex power supplies, and the drivers they provide with them.  However we have had similar crashes on machines that used only NI hardware. 

I have never seen this happen on a machine that didn't use DAQmx.  I'm not sure if that's relevant or not.  Just an observation.
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 4
(2,742 Views)
Hi Pallen,

I'm sorry that you are experiencing this behavior when running executables. Has this crash occurred with multiple executables you have built? Have you tried running this program in a later version of LabVIEW, such as 8.0 or 8.5? Sometimes bugs like this are fixed in later versions of LabVIEW.

Also, since you chose to investigate this error, an Applications Engineer will be assigned your error log file to analyze. If could attach this, I can also look into the problem. The following document discusses how to find this error log:

Where Are LabVIEW Error Log Files Saved?

Thanks!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 4 of 4
(2,719 Views)