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: TRAPWRITE does not log settings made with ca_put_callback
From: "John A. Priller" <[email protected]>
To: [email protected]
Date: Thu, 30 Sep 2004 10:01:11 -0400
We've been looking into using the asTrapWrite functionality to log settings (using the caPutLog extension), and I've discovered that while logging of settings made through ca_put works fine, no logging is performed if settings are made through ca_put_callback.

Burrowing into the base code (both 3.13.5 which we currently use on our IOCs and 3.14.6 which we plan to upgrade to), I've found that asTrapWriteBefore and asTrapWriteAfter are called in src/rsrv/camessage.c in the code for write_action, but not in the code for write_notify_action.

I could probably kludge in calls to the asTrapWrite functions in the write_notify_action function (or the various support functions for write notification), but I'm wondering if there's any "gotchas" I'm not aware of that would make that a bad idea, which might explain why asTrapWrite functionality is not now implemented for write notification.

Thanks for any light anyone can shed,
JP

--
John A. Priller            | Phone : (517) 333-6375
MSU Cyclotron Laboratory   | Fax   : (517) 324-8126
South Shaw Lane            | Email : [email protected]
East Lansing, MI 48824     | Web   : http://www.nscl.msu.edu/~priller/

Replies:
Re: TRAPWRITE does not log settings made with ca_put_callback Andrew Johnson

Navigate by Date:
Prev: Re: PPC compiler splits up ints & shorts? Dirk Zimoch
Next: Re: TRAPWRITE does not log settings made with ca_put_callback Andrew Johnson
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: Re [18] Rebekah Leary
Next: Re: TRAPWRITE does not log settings made with ca_put_callback Andrew Johnson
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 ·