EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: channelWatcher
From: "Zelazny, Michael S." <[email protected]>
To: "Heinrich du Toit" <[email protected]>, "TechTalk EPICS" <[email protected]>
Date: Wed, 3 Oct 2007 15:07:11 -0700
You could add:

ï#ifndef TsDiffAsDouble
// TsDiffAsDouble was removed in EPICS R3.14.5
#define TsDiffAsDouble(pDbl, pS1, pS2) \
  (void)( \
    *pDbl = ((double)(*pS1).nsec - (double)(*pS2).nsec)/1000000000., \
    *pDbl += (double)(*pS1).secPastEpoch - (double)(*pS2).secPastEpoch )
#endif

But I'll tar up the latest and send it to you.

Mike 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Heinrich du Toit
Sent: Wednesday, September 26, 2007 6:16 AM
To: TechTalk EPICS
Subject: channelWatcher

Hi

Is there somewhere a channel watcher that will compile with R3.14.9?
And also with GCC 4.1 - as there is numurous things in code that g++ 4.1 simply doesn't like - exstra ;'s and so forth.
The real brake is that is requires some tsDiffAsDouble function no where to be found.

Or should I just use AutoSaveRestore extensions - atleast that doesn't have 5000 errors when compiling.

thanx
-H




References:
channelWatcher Heinrich du Toit

Navigate by Date:
Prev: RE: Using Asyn driver or modifying devLib (or related programs) of EPICSbase for any knid of cPCI cards Emmanuel Mayssat
Next: RE: Using Asyn driver or modifying devLib (or related programs) of EPICSbase for any knid of cPCI cards Jenny Chen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: channelWatcher Heinrich du Toit
Next: same PV on multiple IOC's - side effect Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·