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  <20142015  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  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: how to know which PVs write to a PV
From: <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Wed, 21 May 2014 09:09:32 +0000
From: LEI Ge [mailto:[email protected]]
> This week we met a problem, a PV's value should be 1 (to enable our e-
> gun trigger), but sometimes it becomes 0 unexpectedly. I checked the
> software logic I can remember to this pv, and have not found the
> reason. Maybe there is some logic I forget or I don't know, to write to
> this pv. So is there a way to check in our control system, which PVs
> write to this pv? Or, this PV is written from which IP?

EPICS provides a hook, asTrapWriteRegisterListener, which is called on every CA put.  I've attached a small support module that I've written to use this to write a log message every time a CA put occurs.



-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.

Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 

Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.

Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

 







Attachment: pvlogging.tgz
Description: pvlogging.tgz


References:
how to know which PVs write to a PV LEI Ge

Navigate by Date:
Prev: how to know which PVs write to a PV LEI Ge
Next: Re: how to know which PVs write to a PV Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: how to know which PVs write to a PV LEI Ge
Next: Re: how to know which PVs write to a PV Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·