Countup timer
jbhildi
Posts: 9
A client has asked for a timer to show how long he has been recording for on a DVD.
I'm assuming a timeline is the correct way to go, starting when the record button is pressed and killing the timeline when the stop button is pressed.
I'm new to timelines and was wondering if anyone has done this sort of thing and has any tips.
thanks in advance
Barry
I'm assuming a timeline is the correct way to go, starting when the record button is pressed and killing the timeline when the stop button is pressed.
I'm new to timelines and was wondering if anyone has done this sort of thing and has any tips.
thanks in advance
Barry
0
Comments
Here is a little subroutine that I use for a certain client who wants each
presenter to progressively know how long they have been speaking.
Maybe you can modify it to fit your need.
//PRESENTER TIMER FUNCTION
{
TIMER_DISPLAY = (GET_TIMER /600)
WAIT(600)
SEND_COMMAND TP,"'^TXT-9,1&2,',ITOA(TIMER_DISPLAY)"
}
PUSH[TP,10] //RESET TIMER
{
SET_TIMER (0)
SEND_COMMAND TP,"'^TXT-9,1&2,','0'"
TO[TP,BUTTON.INPUT.CHANNEL]
}
Easy and accurate!
Ahh - the reason why I never heard of them - I've never programmed AXCESS!
Just looked them up though . . . they look interesting.
Hi all,
thanks for that.
Must admit I'd forgotten about get_timer etc. Years since I used them.
Barry
Quite old, actually. I've never used them, though our old Axcent programmer used them a lot, so I gained familiarity when I took over his code. The one problem is that it is a single global timer; you can't have multiple timers going with those keywords. Or, let me amend that, you can't that I am aware of .