EPICS Home

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  2016  2017  2018  2019  2020  2021  2022  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Help understanding DTYP Soft Timestamp
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Marco Filho <marco.filho at ess.eu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 18 Oct 2024 18:36:46 +0000
Hi Marco,

The part of that record which copies timestamps is the TSEL link pointing to the .TIME field of the record whose timestamp you want to copy. There is documentation for the TSEL and related TSE fields here, hope this helps:
    https://epics.anl.gov/base/R7-0/8-docs/dbCommonRecord.html



- Andrew
__ 
Complexity is free, you pay for Simplicity

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Marco Filho via Tech-talk <tech-talk at aps.anl.gov>
Sent: Friday, October 18, 2024 9:52:31 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Help understanding DTYP Soft Timestamp
 

Hello all. Today I came across this interesting record:

record(stringin, "$(P)$(R)customTimeTimestampIn") {
    field(DTYP, "Soft Timestamp")
    field(SDIS, "$(CUSTOM_TIMESTAMP) CP MS")
    field(DISV, "-1")
    field(TSEL, "$(CUSTOM_TIMESTAMP).TIME CA")
    field(INP,  "@%s.%f")
}

It's a record meant to get the timestamp from another record via CA.
I had never seen the Soft Timestamp DTYP before. After digging a while I found some e-mails on tech-talk

https://epics.anl.gov/tech-talk/2020/msg01593.php

But couldn't find the documentation on how to use this. Is there any specific link I should look for?

Thanks in advance,

Marco


Replies:
Re: Help understanding DTYP Soft Timestamp J. Lewis Muir via Tech-talk
References:
Help understanding DTYP Soft Timestamp Marco Filho via Tech-talk

Navigate by Date:
Prev: Re: [Ext] RE: Help setting up coordinated motions for Galil controller Jesse Hopkins via Tech-talk
Next: Re: Use EPICS 7.0.* in production? Johnson, Andrew N. via Tech-talk
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  <20242025 
Navigate by Thread:
Prev: Help understanding DTYP Soft Timestamp Marco Filho via Tech-talk
Next: Re: Help understanding DTYP Soft Timestamp J. Lewis Muir via Tech-talk
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  <20242025