Absolute Posted February 28, 2015 Report Share Posted February 28, 2015 We have an application that monitors an oven. We define a total cycle time from a user input, between 3 minutes and 4 hours. Then we start both a timer set to the user input and a timer that counts to 10 seconds and resets over and over. The user input value timer will end the cycle and the 10 second is to make a printer print time (hour:min:sec no date) and current temp. The problem we are having is that if we start the cycle at 1:36:00 the 10 second interval prints will not consistently show times that are ten seconds apart! we might get 3 lines with 10, 20, 30 but then it will show 41 or maybe 39 as the next seconds value, then after 3 or four times ending in the +1 or -1 seconds value it will go back to the original ends in 0 values. This will repeat over and over again during a long cycle happening between 17 and 19 lines between + or - 1 and it lasts between 3 and 5 lines before reverting. Are we trying to do something that the clock can't really do to an accuracy of one second? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.