05-07-2014 05:51 AM
I am doing a project with different sensors I need to be able to time how long the program is running from power on to off. Has anyone any suggestions as to how to do this.
05-07-2014 05:59 AM
05-07-2014 06:49 AM
As soon as the program starts, get the timestamp using Get Date/Time In Seconds. Store that value somewhere (like in a shift register). You can then get the current time with the same fuction and subtract the timestamp value from the program start. You now know how long the program has been running.