Running Time
MattMan
Junior Member
A newbie looking for some advise:
I have the need to keep track of and display the current running time of a external process. Also a cumulative running time in a given month. And display it on a MIO Modero Keypad with LCD.
Suggestions on the best way to do this?
My initial thoughts a time line that increments a counter for me. Some manipulations for display in the proper format and some internal variables to keep track of it all. Am I progressing down the proper path?
Thanks in advance.
Matt
I have the need to keep track of and display the current running time of a external process. Also a cumulative running time in a given month. And display it on a MIO Modero Keypad with LCD.
Suggestions on the best way to do this?
My initial thoughts a time line that increments a counter for me. Some manipulations for display in the proper format and some internal variables to keep track of it all. Am I progressing down the proper path?
Thanks in advance.
Matt
Comments
-
Use i!TimeManager
If your system is going to be connected to the Internet, I suggest you use the i!TimeManager Solution and base your counters on absolute time instead of relative time. For short counters, Timelines should be reasonably accurate. -
The internal timers in a NetLinx master are simply not designed for precision. If your log can tolerate cumulative minor false increments when the code lagged your timeline or wait, you can do it that way. I've had some success with things like sleep timers setting a variable for a timer value, then using a once-a-second timeline to decrement it. But I wouldn't do that for anything timing critical. For that you will want to reference an outside timer, and i!-TimeManager is a good choice for updating the intertal clock on that basis.
-
Thanks
Thank you for your feed back.
My timer needs are not really time critical. If it is accurate to a few minutes over a 12 hour period we are good to go. So it feels like the timeline even with a counter at the minute level would serve me well.
Thanks again,
Matt
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums