DavidRojas
Member
Hello all, I'm designing a system to keep track of device runtime using Redlion's Crimson for the G3 series HMIs. There is a global action called "On Tick" which gets called once every second. I have a program that is being called in this event that checks if a flag (bit) variable is set. If so, I increment a runtime variable by 1. In theory this would represent how many seconds the device has been on.
My question is how reliable is the "On Tick" to occur once every second? In my program, I notice that near the end of the day, my runtime is off by about 10-20 seconds sometimes.
Is the On Tick exactly syncronized with the time given by the GetNow() function? In other words, when displaying the time on a page, will the On tick be called on the second every second?
My question is how reliable is the "On Tick" to occur once every second? In my program, I notice that near the end of the day, my runtime is off by about 10-20 seconds sometimes.
Is the On Tick exactly syncronized with the time given by the GetNow() function? In other words, when displaying the time on a page, will the On tick be called on the second every second?