LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems renewal asynchronous timers

I use up to 16 asynchronous timers in a multi-threaded data acquisiton application. The amount of timers and their timer cycles change depending on the data I want to display. For all timers I use the same callback routine. The starting times are delayed the way, that the timer events never occur concurrently. If a different screen is selected I destroy the timers and start them again with modified timer cycles. The renewal works only once. Subsequents attempts result in missing timer callbacks. A few work, but a few don't - even though the timers are successfully installed. Is there any cure for this behaviour ?
0 Kudos
Message 1 of 2
(2,577 Views)
If you are running 16 timers and you try to update and process events at a very fast rate (<1s) you will most defenately miss some events. What typical timing do you use and how many concurrent timers are you running and what is the spec of the PC you're doing this on?
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 2
(2,577 Views)