LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.exe crash on exit caused by DSC ?

I am getting the following error when I stop the executable version of my program (LV + DSC 6.02 runtime):

'xx.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.'

- Where can I find the error log file ?

- My program works perfectly as a Vi, and this error occurs at the very end of the exit process, right after/while the DSC engine is being stopped.

Any idea about what is wrong?

Thanks.
0 Kudos
Message 1 of 8
(8,439 Views)
I am guessing that this is on a Win 2000 machine. If so, the error log can be found at Control Panel>>Administrative Tools>>Event Viewer. Generally these kind of messages will appear in the system or application logs. Once you locate the error in the log, right click on it and choose properties for a full description.

This may be solved by simply reinstalling the DSC Run time System. In any case, I recommend contacting National Instruments Technical Support once you have gotten the full error description from the error log. The best way to contact an NI Applications Engineer is to go to www.ni.com/ask. From there you will be given the option of generating an email support request or starting a telephone based service request which will give you priority
access to an Applications Engineer.

Chad Pelletier
National Instruments Applications Engineering
www.ni.com/support
www.ni.com/ask
0 Kudos
Message 2 of 8
(8,439 Views)
I'm able to reproduce the above mentioned error on three different machines with LabView 6i & DSC add on installed. It sounds more like a DSC issue than an installation issue if the problem can be duplicated on several machines.
0 Kudos
Message 4 of 8
(8,439 Views)
I agree. I have more than 25 PCs with the exact same problem. Sometimes the DSC returns a 'pure virtual function" error instead of a system error. Re-installing the DSC does not help.
0 Kudos
Message 5 of 8
(8,439 Views)
I am having the exact same problem, but mine also crashes in the uncompiled version! The application runs fine until I try to exit.


Checking the Event Viewer, I get this:
The application, , generated an application error The error occurred on 11/02/2001 @ 08:39:24.293 The exception generated was c0000005 at address 027B7D20 (CIN_Cleanup)

The Dr. Watson Log shows this:
c0000005 CIN_Cleanup(027B7D20)
Application exception occurred:
App: (pid=572)
When: 11/2/2001 @ 08:39:24.293
Exception number: c0000005 (access violation)


I did some checking, and the thing that is causing the crash (CIN_Cleanup) is part of BVRTDatabase.dll, in C:\Program Files\National Instruments\LabVIEW 6\vi.lib\system.

I still don't know what i
s causing it, though.
Message 3 of 8
(8,439 Views)
We finally eliminated this problem by upgrading to LabVIEW 6.1.
0 Kudos
Message 6 of 8
(8,439 Views)
That's good to know, but one should not have to upgrade to LV + DSC 6.1 to fix the bug. A patch should be released too.
0 Kudos
Message 7 of 8
(8,439 Views)
I used to have this exact same problem! Upgrading to LabVIEW 6.1 & DSC 6.1 solved the problem and I haven't seen it since.
0 Kudos
Message 8 of 8
(8,439 Views)