EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Manipulating time in records
From: Di Maio Franck <[email protected]>
To: "[email protected]" <[email protected]>
Cc: Mahajan Kirti <[email protected]>, Makijarvi Petri <[email protected]>
Date: Mon, 18 Oct 2010 14:56:03 +0200
Dear EPICS advanced

An issue that I guess has been encountered in other labs already.

A typical ITER use case:

"Do A at time T", 
- T: a setting controllable by PV(s),
- A: an action implemented by a record triggered by an event occurring at time T.

We are implementing this use case with a module that receives time over PTP, so the time shall be expressed with nano-second resolution.

So we need:
- one unsigned int32 for seconds
- one (unsigned or not) int32 for fraction of second expressed as nano-seconds.
Same as time-stamp (TS), right?

Maybe 2 longout but I am not sure if UINT32 is OK with longout.
In addition, we'll have "pulse time", with a specific time origin, so maybe also sub or calc records to convert between relative and absolute time.

We'll appreciate advices on the records to be used... Good or bad ideas/experiences welcome.

Thanks in advance!

Franck


Replies:
Re: Manipulating time in records Dirk Zimoch
Re: Manipulating time in records Andrew Johnson
Re: Manipulating time in records Luedeke Andreas

Navigate by Date:
Prev: RE: Eurotherm Temperature Controller Support emma.shepherd
Next: Re: CSS XY Graph show/hide traces PaweÅ PrÄdki
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Error compiling sncseq-2.0.99 on MacOSX 10.6 (Snow Leopard) and possible patch (attached) Benjamin Franksen
Next: Re: Manipulating time in records Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Oct 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·