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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement