Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer Problem
Message
From
14/06/2000 00:36:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00380029
Message ID:
00380065
Views:
35
David:

Thanks for the reply. I missed the thread that you were referring to. However, your suggestion sounds interesting.

I will try it out.

Again, thank you.

Mal

>Mal,
>
>There was another thread about the same two timer issue within the last few weeks. he solution was to use one timer for both functions. Run it at the fastest rate you need and only do the slower item every N executions of the fast timer.
>
>>I'm working on a program using 2 timers. A VFP timer and a timer in a joystick OCX.
>>
>>My problem is that the timers interfere with each other slowing down the entire program. The joystick timer works well until the VFP timer fires - it has to wait until the VFP timer event finishes. This is not that much of a problem when I first start the program. However, if the program is left running over night, for some reason, the program slows down to a crawl. If left on longer the joystick timer stops working - VFP timer still works. Presently, the joystick timer interval is set to 150ms and the VFP timer is set to 2500.
>>
>>Any ideas? Is VFP just not made to work well with more than one timer?
Previous
Reply
Map
View

Click here to load this message in the networking platform