Run timer all the time

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I have timer that need to run all the time even if i move to different modules (while I am not finishing the exising module that contains the timer)
today if imove to different module the timer pause

Thanks
Shay
 

Shay

Well-Known Member
Licensed User
Longtime User
tried, not working good, since I need to display the timer on the original screen
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
You can use a callSub from the service module and update the label containing the timer in your activity. If of course I understand correctly. If you strictly measure time apart from doing something else with your timer, you can always hold a timerStart in a process_global variable, then get the current time, and report as elapsed time, the difference of these two variables.
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
Thanks,
I manage to creatr such code indifferent project, after I saw it is working fine, I integrated it into my code
 
Upvote 0
Top