#1
|
|||
|
|||
Timer cycling correctly?
Hi all,
I have a timer running my program at 1/60 second, as indicated below: def masterLoop(num): . [main program here] . viz.callback(viz.TIMER_EVENT,masterLoop) viz.starttimer(0,1/60,viz.FOREVER) However, when I insert a viz.elapsed() into the callback, it returns values of roughly 0.004. I may be misunderstanding the function, but shouldn't it be returning 0.017, which is 1/60? Sorry if this is a dumb question, but it's really important that this timer is cycling correctly. Thanks for your help! |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
timer question again | Elittdogg | Vizard | 3 | 10-18-2007 10:29 AM |
Timer speed | Jerry | Vizard | 1 | 12-08-2006 11:01 AM |
timer | paulpars | Vizard | 2 | 06-14-2006 02:31 PM |
Timer event documentation | pkhoosh | Vizard | 1 | 10-21-2005 10:12 AM |
multiple timer trouble | exhale | Vizard | 2 | 04-26-2005 12:21 AM |