LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer management on CVI WIN2000

I have a problem during CVI GUI execution on WIN2000. In particoular, i have a problem with the timer management. I note that my application GUI is update at each timer tick 60 milliseconds (line rotation) and when i change the timer tick at 30 mSec, the rotation is faster (correct). This is true only on WINNT OS, but the same application on WIN2000, shows different update time of GUI when Timer tick change, ONLY if in application GUI a button is selected (es. Ring Button). How i can solve thise problem? WIN2000 manage application in different manner? My CVI version is 6.0. Thank in advance. F. Schina
0 Kudos
Message 1 of 2
(2,425 Views)
There are many factors that affect Windows' management of the timer callbacks, including what Windows services are running, what the application foreground/background timeslice boost is set to, if any other applictions are executing at the same time, CPU speed, etc.

Are you calling ProcessSystemEvents() to update the GUI at the end of each timer tick?

David McClelland
National Instruments
0 Kudos
Message 2 of 2
(2,425 Views)