You will need to run a soft IOC to generate timestamp PVs.
Here is a sample db record that will perform the desired task.
record(stringin, "${PV}:T") {
field(DTYP, "Soft Timestamp")
field(TSEL, "${PV}.TIME CP")
field(INP, "@%b %d %Y %H:%M:%S")
}
Where ${PV} is the record you wish to monitor for update time.
Cheers,
Tim Southern
[email protected]
On 6/15/16 10:32 AM, Mark Rivers wrote:
There is device support in EPICS base for a stringin record to display the timestamp of a record. Look at this tech-talk note:
http://www.aps.anl.gov/epics/tech-talk/2006/msg00017.php<http://www.aps.anl.gov/epics/tech-talk/2006/msg00017.php>
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Elmer Pensack [[email protected]]
Sent: Wednesday, June 15, 2016 9:06 AM
To: [email protected]
Subject: Access TIME field of a PV
Hello,
I have a MEDM display with several text message PVs. The users want to know when the PVs last updated because they don’t update frequently, I thought it would be easy - I’d just display the TIME field next to the message, only to find that TIME is not accessible. So is there an easy way to display the last update time? I was hoping not to need to write code to do it.
Thanks for any suggestions.
Elmer Pensack
- References:
- Access TIME field of a PV Elmer Pensack
- RE: Access TIME field of a PV Mark Rivers
- Navigate by Date:
- Prev:
Pending pull requests Henrique Almeida
- Next:
the problem about the driver package s7plc.tgz 许婕
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Access TIME field of a PV Arnold, Ned D.
- Next:
Pending pull requests Henrique Almeida
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|