LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My LabVIEW application crashes now and then.

I wrote a LabVIEW application involving data acquisition (NI PCI-6052E), Image acquisition (NI PCI-1407), GPIB communication (GPIB-USB-B) and Digital I/O (NI PCI-6052E and UEI PDL-DIO-64 (www.ueidaq.com)). The application is written using LabVIEW 6.1, but I run it now under LabVIEW 7.
The problem with the application is that it shows infrequent crashes (1-4 times per day): Windows2000 freezes completely and the only way out is a reboot.

I had the feeling that the amount of PCI cards I use has something to do with it, so I checked Windows' device manager. It turned out that the computers ethernet card and the IMAQ board shared the same IRQ. I solved this problem by putting the ethernet card at a different PCI slot, but
still, crashes occur. It is impossible to relate the crashes to certain operations that happen in the program.

Does anyone know what could be causing these crashes? Could it be that my NI cards and my UEI card don't like eachother?

Thanks in advance,

Regards,

Ruud
0 Kudos
Message 1 of 3
(2,679 Views)
test
0 Kudos
Message 2 of 3
(2,679 Views)
Have you investigated memory use? Does your system resource usage climb until the crash? This is usually my first test with similar situations. Often it has turned out to be some sort of memory leak problem (constantly adding to array of data or some such). Even opening references and not closing them can cause memory leak problems. So, monitor memory usage and see if it continually climbs. If so, then start looking for memory usage in your program.

Rob
Message 3 of 3
(2,679 Views)