LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview freezes in windows 7 when i press the stop button

I have a program that I've been running for several years on a Windows XP computer and two Windows Vista computers.  I've never had any major problems with the program, and I run it 24/7.  I recently bought a Windows 7 x64 computer.  It's has way more memory and disk space than the other computers so I don't think that would cause any problems.  I'm having this problem that the program will run for several hours, and when I press the stop button the program hangs.  I can close LabView but I get this "resetting VI" dialog box, but I have to restart the computer to reopen it.

 

I have while loops with stack sequences as the bulk of the program.  I communicate with an omega CN616 PID controller through a USB to serial converter and the code uses VISA (I read the input every second or two).  I also have a 6008 that sends two analog outputs and 4 digital outputs to a power supply and receives an analog input from a pressure controller.  A 6525 is also used to send some digital on/off signals to solenoid valves.   The 6525 and 6008 outputs only send occasionally with a command.  The analog input to 6008 is read every 100 ms. 

 

I'm using Labview 8.5 and NIDAQ 9.0.2

 

In summary the program runs perfectly on older computer everything operates correctly while it is running, and I don't see any errors while it is running; thus, it is really hard for me to tell where the error is.

 

Where should I start?  Is it likely a probelm with Windows 7, the usb to serial converter, the power of the usb hub i use, etc?

0 Kudos
Message 1 of 3
(2,975 Views)

I have also a stop problem with Win7 x64 that does not exist on Win XP 32 PC. No special hardware involved. 

0 Kudos
Message 2 of 3
(2,958 Views)

Personally, I suspect a race condition, maybe because the newer computer is faster or has more CPU cores, potentially causing some reordering of operations.

 

Of course LabVIEW 8.5 is not officially supported on Windows 7....

 

Windows Version Compatibility with LabVIEW

 

National Instruments Product Compatibility for Microsoft Windows 7

0 Kudos
Message 3 of 3
(2,944 Views)