Experimental Physics and
| |||||||||||||||||
|
All records report back the time when they processed, or more accurately the time when they called recGblGetTimeStamp, which is typically done just before posting monitor. You just need to use the proper channel access functions to retrieve that information. However if you need the result as a string for something like an MEDM screen, there is stringin device support that has shipped with Base since R3.14.5 to convert the record's timestamp into the VAL field of the string record. Set the stringin's DTYP to "Soft Timestamp" and INP to the epicsTimeToStrftime() format string for the string conversion you want, for example: field(INP, "@%b %d, %Y %H:%M:%S.%09f") - 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 · |