Experimental Physics and
| |||||||||||||||||
|
But what I truly want is the uptime. I haven't found an easy way to do that yet... That depends what you mean by uptime - it would be trivial to create a CALC record that keeps a seconds counter if you want to measure your uptime in seconds (and don't mind slight inaccuracies since your 1 second scan task might not tick at exactly once a second). If those inaccuracies bother you or you need the result in a textual format then a subroutine record could do the necessary calculation and string conversion -- copy any string result to the DESC field and call db_post_event(precord, &precord->desc, DBE_VALUE) to make sure the monitor event gets posted. I don't know whether this counts as "easy" though... - Andrew -- * * Matt Santos / / For a Brighter America * *
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |