Vizard 8 » Command Index » Vizard objects » EventClass » <EventClass>.starttimer
8.1

<EventClass>.starttimer

Starts a timer that will only expire for the EventClass.

<EventClass>.starttimer(  
timerNum = 1  
timeSec = viz.FASTEST_EXPIRATION  
repeat = 0  
)  
timerNum = 1
Specifies an integer valued timer ID
timeSec = viz.FASTEST_EXPIRATION
Specifies the expiration time in decimal seconds.
repeat = 0
Specifies how many times to automatically repeat this timer event. If none is supplied then the timer will only occur once and addition cyles will have to be manually evoked by issuing another starttimer call. Passing viz.FOREVER will cause the timer to repeat forever.

Remarks

See the Event Handling Classes examples.

Return Value

None

See also

<EventClass>.killtimer