01-22-2006 07:59 AM
01-23-2006 04:58 AM
@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.