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 2025 | 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 2025 |
<== 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]