LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program freezes

I am having a problem with one of my two machines. Both are using Labview 7.1, Windows 2000 (customer specified), Dell systems, Pentium IV, 1 Gig memory, PCI-6602, PCI-6221, PCI-7352 on one, PCI-7354 on the other. The problem with one of them is that the program will periodically freeze when the compiled, executable version is run. When the VI is used, the problem doesn't occur. This is a major problem because the motion controllers are controlling large motors, applying torque to the parts under test. When the program freezes, the motor continue to run because they are set to control to position. The machine that doesn't have this problem is running a much more complex program, controlling 4 motors instead of one, and the executable program runs fine. Unfortunately I cannot view anything on these machines because they are in a different country! When I was there a few weeks ago I thought the problem was due to using a "flush file" command every so often to keep my test log up to date. I eliminated that and thought the problem went away but it didn't. Just wondering if anyone has seen this before using Windows 2000. All my other machines use WinXP.
Thanks for any help.
0 Kudos
Message 1 of 3
(2,735 Views)
Hello task.
You say, that "When the VI is used, the problem doesn't occur." Is this statement true for the same PC that "hangs" when running the application? Or did you run the VI on a different PC?

I could never observe that a robust application (and I take from your description that the EXE is robust) hangs on a PC with a few exceptions - but these were all related to the hardware: My first tip is, that your PC has a problem with the CPU or the RAM.
Any further tips would be useful, too.
Is Win2000 still usable when your application hangs or do you have to reboot?
Can you find any interesting entries in the Windows Event Viewer? (I was once in the lucky situation to detect a hard disk that was still working properly although Windows had already posted some events that the hard disk needs to be replaced.)
Does the "periodic freeze" appear after an almost constant period of operation?
 
BR, Guenter
0 Kudos
Message 2 of 3
(2,725 Views)
The system is a brand new Dell, identical to the one that doesn't hang. It freezes for about 10 seconds, unfreezes, freezes again for a second, unfreezes, freezes again for a second, then unfreezes until the whole thing starts over. When I observed this when I was there, it seemed like it was happening every 172 seconds or so. That's why I suspected the flush file activity because it looked like something writing to the disk. After I took it out it seemed ok, but I was only running the vi, not the executable. I'll have someone down there look at the event viewer and see if there is anything interesting.  I do have another Dell here with XP on it with close to the same hardware so I may try to manipulate the program a bit and try to run the program; that's a good suggestion. I'll try to do that later this week...I'm buried on another machine right now. Thanks for the suggestions.
Thanks,
Teri
0 Kudos
Message 3 of 3
(2,716 Views)