LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview crash after a while

I have a crash on a compiled LabView EXE after running this application a while.

This application reading and writing some digital and analog input values continuously with a frequency of around 100 cycles per second.

After 3 to 5 minutes the application crashed without a user input.

Windows do display the application window continuous without any reaction. With the windows task manager i can't kill the application.

After such a crash also the NI MAX do hang.

 

Do anybody have/had a similar issue and experiance about to analyse it?

 

description of the environment:

 

EXE developed under Labview 7

I/O device -> NI-USB 6009

NI DAQmxBase 1.4

 

Windows XP SP3 on a Atom CPU with around 860 MB RAM

no screensaver

power option for standby / sleep / monitor off / HD off all to 'never'

0 Kudos
Message 1 of 17
(3,479 Views)
When you say "crashes", what exactly do you mean? Blue screen? Locks up? Program window suddenly disappears? Hole ripped in the space/time continuum?

Can you post screen shots of the code?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 17
(3,466 Views)

'Crash' means, the cyclic program execution is stopped. 'Hang up' is a better description.

Screenshots are not possible because is not a ' 5min NI Express VI development'.

The application running on 40 other PC's around the world without a issue.

How can you analyze something like this?

 

0 Kudos
Message 3 of 17
(3,457 Views)

I guess 860MB of RAM might be the issue. Do you have anyother PC RAM info where it is running without a problem? Also are you running any other application (like MS office) along with this application in parallel?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 17
(3,453 Views)

In my laboratory the application runnning perfect on a Pentium 4 with 1024MB RAM. But the additional installed software on both PC's is not comparable (different virus scan and other third party software) and out of my control.

0 Kudos
Message 5 of 17
(3,441 Views)

Did you try to plug the 6008 into another USB port? Do you use a USB Hub?

There have been incidents (esp. with cheap USB hubs) that the USB connection is lost to the instruments. If this happens during access of the instruments, the calling application most likely hangs up or crashes to desktop.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 17
(3,426 Views)

Try it on a different port and ensure it has got nothing to do with bad usb ports. Just a thought i had been hit by this before.

 

Edit : or whatever norbert saysSmiley Very Happy

0 Kudos
Message 7 of 17
(3,418 Views)

The NI USB-6009 is direct connected, no hub. I will try a nother USB plug.

0 Kudos
Message 8 of 17
(3,412 Views)

It's happens also with a different USB port.

Anybody has more ideas to analyse this issue?

0 Kudos
Message 9 of 17
(3,391 Views)

Atleast for testing can you close all the other application and run only your software and check? When you are running the software check the Memory and CPU usage in Task Manager.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 17
(3,384 Views)