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  <20172018  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: soft Timestamp fixed point support
From: <[email protected]>
To: <[email protected]>
Date: Wed, 17 May 2017 13:43:06 +0000

Hi,

 

I am working on synchronising the timestamp on an IOC with a timestamp register on an FPGA. I need access to the 32 bit fixed point nanoseconds word that makes up the lower half of the EPICS timestamp. Using the “Soft Timestamp” I can only get the value as a floating point number (using ai) or a string (using stringin).

 

Is there a way of getting it in the fixed point format I want? As I understand it “Soft Timestamp” only works with ai and stringin records. Ideally I’d like support for longin records as well.

 

record(ai,"$(SYS)-EVR:EventTimestamp"){

          field(DTYP,"Soft Timestamp")

          field(TSEL,"$(SYS)-EVR:Event-14-SP.TIME")

}

 

The record is processed by a forward link from "$(SYS)-EVR:Event-14-SP”

 

 

Many thanks

 

Will

 

 


Replies:
Re: soft Timestamp fixed point support Andrew Johnson

Navigate by Date:
Prev: Re: Archiver appliance showing DESC field on pv details page. Jeong Han Lee
Next: caRepeater: Syntax error: ")" unexpected nb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Archiver appliance showing DESC field on pv details page. Jeong Han Lee
Next: Re: soft Timestamp fixed point support Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024