EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Time stamp question
From: Andrew Wagner <[email protected]>
To: [email protected]
Date: Tue, 31 Aug 2010 18:04:29 -0700
Hey guys, 

I have a Calcout record that needs to calculate the time between its present and previous processing. How can I best accomplish this? Searching the tech-talk forum I've found that there is DTYP, "Soft Timestamp" which I suppose gets the system time. I would like to compute the time difference in seconds so is it possible to create an AI record 

record(ai, "TIme") { 
  field(DESC, "System Time")
  field(DTYP, "Soft Timestamp")
  field(INP, "%s")
}

that gets seconds since the epoc I can use as an input to Calcout record? 

Cheers, 

Andrew



Replies:
Re: Time stamp question Benjamin Franksen
Re: Time stamp question Tim Mooney
Re: Time stamp question Martin L. Smith
Re: Time stamp question Andrew Johnson

Navigate by Date:
Prev: Workshops associated with the meeting Dalesio, Leo
Next: EDM display fonts problem under Fedora 13. [SEC=UNCLASSIFIED] WANG, Jian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Workshops associated with the meeting Dalesio, Leo
Next: Re: Time stamp question Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·