EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: tickGet() in 3.14.6
From: Marty Kraimer <[email protected]>
To: Wayne Dahl <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Date: Fri, 22 Oct 2004 07:27:58 -0500


Wayne Dahl wrote:

I'm reading in the documentation that tickGet() etc are to be replaced by
routines in osiClock.  I can't find that anywhere.  What would be the
appropriate replacements for tickGet on solaris?


Thanks


Wayne



There is no exact replacement for tickGet.


EPICS base 3.14.x provides two time related libCom modules: epicsTime and epicsTimer.

epicsTime - manipulates epics time stamps. It provides MANY methods/functions to manipulate the time stamps. It can get the current time, compute time differences, convert to other representations of time, etc.

epicsTimer - A timer facility that replaces taskDelay

Also epicsThread provides epicsThreadSleepQuantum which gives the time in seconds between clock interrupts. This is a replacement for sysClkRateGet.

I will guess that what you want is epicsTimeGetCurrent to replace tickGet and then use epicsTimeDiffInSeconds to compute the difference in time between two calls to tickGet.

Consult the Application Developer's Guide for details.

Marty Kraimer


References:
tickGet() in 3.14.6 Wayne Dahl

Navigate by Date:
Prev: tickGet() in 3.14.6 Wayne Dahl
Next: Micro PLC <-> EPICS Communication ??? Martin Pieck
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: tickGet() in 3.14.6 Wayne Dahl
Next: Micro PLC <-> EPICS Communication ??? Martin Pieck
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·