LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 6.1 generates errors and shuts down

I am running LabView 6.1 on a windows 2000NT platform. I get random labview errors and then labview will shut down. The error window I get is
******************************************************************************
Labview has generated errors and will be shutdown by windows
An error log is being generated
******************************************************************************

When I ok this window labview stops. Windows seems to be fine and there is nothing in the event viewer.
I am looking for some troubleshooting tips on how to find out what the error was that caused labview to crash.
0 Kudos
Message 1 of 7
(3,004 Views)
Hi,

I need more information about this case. When you get random labview errors? Do you communicate with HW and than you get the error? Please give me more informations about HW+Driver and the VI.

Regards
TN
Message 2 of 7
(2,992 Views)
All good questions TN. I can not pinpoint when the labview errors occurr, it is hard to isolate to one specific thing. It works fine when printing so I have ruled that out. I have another system running the exact same configuration, and that one seems to be fine.
Both systems are connected via LAN thru a D-Link hub.

What driver and HW do you need to know?

Regards
DH
0 Kudos
Message 3 of 7
(2,971 Views)
Hi dheeren,

If you have the exact same system running the same VI, Labview versions, etc. without problems, you could try uninstalling and reinstalling Labview on this computer and see if that changes anything.

If this doesn't help, try taking away some portions of the VI gradually and running what's left to find out where the crash occurs.
Does your VI call some external DLLs, use activeX, or communicate with any hardware? If you could narrow the problem down, it would be a lot easier for us to help you.

Best of luck!
Shakhina P.
Applications Engineer
NI
0 Kudos
Message 4 of 7
(2,950 Views)
I know I'm not giving a lot of info here but I am not an engineer, only an operator of this system. I did receive another LabView error on Friday which just says the same thing

**************************************************************************************

LabView has generated errors and will be shutdown by windows

**************************************************************************************

It does say that an error log has been generated, but I can find no such log file. I have looked in windows temp directory/Labview_Failure_log.txt but there is no file in the system. Where do I find this log file in LabView 6.1? Is there even an error log generated?

I need some basic troubleshooting hints so I can give you more info to work with.

This is a control system for a paper mill, Honeywell has used LabView to write what they call RAE.

Can you give me a starting point for finding out more info on this error, I experience about one or two crashes of LabView a week.

Thanks in advance for your help.

Doug
0 Kudos
Message 5 of 7
(2,919 Views)
Hello Doug,

To find out where the error log file (generated by windows) is located, go to Start»Run, enter drwtsn32, and press the key. The Dr. Watson window then appears which indicates the location of the error log on your computer.

Do you see a pattern on type of operations the application is performing when it crashes?
Does the program call external software or interact with other software in any way (using activeX or DLL's etc)?
You say that the same application runs fine on the other system, are there any differences between the systems (OS versions, Service Packs, LabVIEW versions, etc.)?

Do you know if the program is an executable (created with application builder) or is it a VI?
We need to be able to reproduce the problem to find out the cause of the crash. Do you have access to the people who developed the LabVIEW code?

Thanks and best of luck!
Shakhina P.
Applications Engineer
NI
0 Kudos
Message 6 of 7
(2,894 Views)
Thanks for your reply!!!!!!!!

I'll try Dr Watson to locate the error log file.
There is no pattern for crashes, last friday I was just changing frames to check the system and then received the LabView error.
Very random and no one frame is the cause.

I am sure that LabView interacts with other software like DLL's, not sure about the activeX though.

Both systems run LabView 6.1 with the OS being Windows 2000 with service pak 2. From what I can see the systems have the same updates, but I could be missing something as I am not sure where to find all the info for this.

The program appears to be a VI, not sure if it is created with Application Builder.

Unfortunatly I do not have access to the people who created the LabView code.

I will check the error log and hopfully come up with more info for you.

Thanks again!!
Doug H
0 Kudos
Message 7 of 7
(2,880 Views)