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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Timestamping Confusion |
From: | "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov> |
To: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Mon, 14 Dec 2020 22:43:31 +0000 |
Partial success so far, I was able to get the TSEL to grab the timestamp from another record that was set by TSE default 0 (sys clock I think this is?). When I set TSE to -2 can you not write to the TIME field of a record like this Caput mydevice:abc.TIME 2020-12-14 14:38:49.021827 I was hoping to simulate my digitizer setting the timestamp in my waveform record TIME field. From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Manoussakis, Adamandios via Tech-talk Thank you both for the insight, it seems best for us to go a similar path of using TSEL to copy the timestamp from the digitizer to each of our waveform records and using TSE set to -2 to stop the IOC from overwriting the time field (please
correct me if I am wrong on this). I think I just need to understand the best way to get the first timestamp and then use TSEL to pass it along to the other records. Ralph when you stated to have the digitizer send the timestamp with the data, would I just have my digitizer set the TIME field in the waveform record then? From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Ralph Lange via Tech-talk On Fri, 11 Dec 2020 at 22:33, Manoussakis, Adamandios via Tech-talk <tech-talk at aps.anl.gov> wrote:
The EPICS Device Support needs to know the timestamp t0 (preferably sent with the data by the digitizer) and write it to each record's timestamp when it updates the record. In that case, by configuring their TSE to -2, all waveform records can use the digitizer timestamp. That timestamp can even be forwarded (using TSEL) through post-processing chains, so that processed data may still use the timestamp that
the digitizer sent with the raw data at the beginning of the chain. Cheers, |