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
<2016>
2017
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
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|