LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer intervall problems (runs to fast)

Hello,

i use the timer functions very often and normally everything works fine. In
an actual programm i setup a timer to an intervall of 5 Seconds. It works
fine on all pentium pc's but it runs much to fast on a PC with an AMD-Athlon
64 X2 Prozessor. I tryed other cvi-programms with timer functions and i
found the same problem. Is this a known bug with this amd processor?

Norbert Rieper

PS: I use CVI 8.0 and windows XP SP 2.


0 Kudos
Message 1 of 4
(3,024 Views)
The problem also appears with the NI-Example "timer.prj" in:

c:\Programme\National Instruments\CVI80\samples\userint\timer.cws

"Norbert Rieper"



"Norbert Rieper" <nrieper@isitec.de> schrieb im Newsbeitrag news:43ec86b4$1@PYROS.natinst.com...

> Hello,
>
> i use the timer functions very often and normally everything works fine. In
> an actual programm i setup a timer to an intervall of 5 Seconds. It works
> fine on all pentium pc's but it runs much to fast on a PC with an AMD-Athlon
> 64 X2 Prozessor. I tryed other cvi-programms with timer functions and i
> found the same problem. Is this a known bug with this amd processor?
>
> Norbert Rieper
>
> PS: I use CVI 8.0 and windows XP SP 2.
>
>
0 Kudos
Message 2 of 4
(3,014 Views)
I know underneath we use the QueryPerformanceCounter() for timer functions. I'm just guessing, but perhaps this Microsoft KB might solve the problem.

Message Edited by bilalD on 02-10-2006 05:05 PM

Bilal Durrani
NI
0 Kudos
Message 3 of 4
(3,009 Views)
Thanks a lot,

i modified the boot.ini by adding /usepmtimer as discribed and that solve
the problem. Timer intervall is working fine now.


"bilalD" <x@no.email> schrieb im Newsbeitrag
news:1139613209175-323625@exchange.ni.com...
>I know underneath we use the QueryPerformanceCounter() for timer functions.
>I'm just guessing, but perhaps <a
>href="http://support.microsoft.com/?scid=kb;en-us;895980"
>target="_blank">this </a>Microsoft KB might solve the problem. Message
>Edited by bilalD on 02-10-2006 05:05 PM


0 Kudos
Message 4 of 4
(2,987 Views)