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  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: PyEpics -- full-resolution timestamps?
From: Eric Norum <[email protected]>
To: tech-talk <[email protected]>
Date: Wed, 26 Oct 2016 08:14:10 -0700
The pv.timestamp attribute returns the record time stamp as a floating point value.  This provides 53 bits of significand.  The ’seconds' now take about 31 bits leaving around 22 bits for fractional seconds so the resolution is only around 250 ns or so.

How about adding a couple of more atrtributes, say pv.seconds (POSIX) and pv.nanoseconds, to provide access to the full resolution time stamp?

-- 
Eric Norum
[email protected]



Replies:
Re: PyEpics -- full-resolution timestamps? Matt Newville

Navigate by Date:
Prev: StreamDevice protocol file help needed Michael Westfall
Next: Re: PyEpics -- full-resolution timestamps? Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: StreamDevice protocol file help needed Michael Westfall
Next: Re: PyEpics -- full-resolution timestamps? Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 26 Oct 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·