LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer callback executes in XP but not Windows7

I have a GUI Timer created using the Timer control in the Main Panel of my GUI.  The callback sends commands to a device attached by USB and the device uses an FTDI chip to translate our serial commands to USB and back.  We're testing the code on both XP and Windows 7 machines that are each connected to their own devices.  Both computers have a driver for the FTDI chip that allows this.

 

The release executable is installed on both computers (these are test machines on which we never run the development software or debuggers - strictly release software).  Both computers can connect to the devices and the main thread runs perfectly.  However, we're having problems with the Timer thread on Win7.  The Timer callback fires off perfectly under XP and sends its commands to the device which then trips and LED from green to blue and back so we can see that it's working. but nothing seems to be going through on the Win7 machine - no change in LED and no response to the commands the Timer callback sends.

 

Has anyone else seen issues with threads not running in Win7 but working in XP?

 

Thanks, for any help,

 

Judy

0 Kudos
Message 1 of 2
(2,584 Views)

Hi Judy,

 

What version of CVI are you using? Are you running your code on 32-bit or 64-bit machines? Are you having problems with all multithreading programs? Do you have a development computer with Windows 7 that also has problems running this code?

Rohama K.
0 Kudos
Message 2 of 2
(2,559 Views)