LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

No more ID's are available to assign to a new timer

I'm using four asnychronous timers in my program. The fourth timer does not get allocated. Instead,  I get the error "No more ID's are available to assign to a new timer."  Also, when calling NewAsnycTimer you have to option to run continuously (-1) or specify a duration. If you specify a duration does the timer automatically get discarded after the duration is complete?
0 Kudos
Message 1 of 2
(2,886 Views)


@skilagig wrote:
I'm using four asnychronous timers in my program. The fourth timer does not get allocated. Instead,  I get the error "No more ID's are available to assign to a new timer."  Also, when calling NewAsnycTimer you have to option to run continuously (-1) or specify a duration. If you specify a duration does the timer automatically get discarded after the duration is complete?



I never had that problem before, maybe it's down to your code, do you have a code sample?

If you specify a duration it stops yes. You enable and disable the timer programatically, so every time it's enabled it will run for the time duration it''s set to and then stop. This is handy to capture a response from some device etc.

Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 2
(2,867 Views)