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  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RE: subtracting epicsTime variables
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Dudley, David" <dudleyd at frib.msu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 10 Feb 2022 20:58:16 +0000

Hi David,

 

I think that in C you use epicsTimeDiffInSeconds(), and in C++ you can just use the “-“ operator.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Dudley, David via Tech-talk
Sent: Thursday, February 10, 2022 2:46 PM
To: tech-talk at aps.anl.gov
Subject: subtracting epicsTime variables

 

What’s the current standard for subtracting an epicsTime variable from another epicsTime?

 

Need to compute a Δ time.

 

David Dudley

Controls Engineer III

Facility for Rare Isotope Beams

Michigan State University

640 South Shaw Lane

East Lansing, MI 48824-1321, USA

Tel. 517-908-7133

Email: dudleyd@frib.msu.edu

 

 

cid:image002.jpg@01D07041.57B6D750

 

 


References:
subtracting epicsTime variables Dudley, David via Tech-talk

Navigate by Date:
Prev: subtracting epicsTime variables Dudley, David via Tech-talk
Next: Epics Archiver Appliance and Network Storage slowdown Manoussakis, Adamandios 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  <20222023  2024 
Navigate by Thread:
Prev: subtracting epicsTime variables Dudley, David via Tech-talk
Next: Epics Archiver Appliance and Network Storage slowdown Manoussakis, Adamandios 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·