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: asyn driver for CMLOG?
From: Luedeke Andreas <[email protected]>
To: Heinrich du Toit <[email protected]>
Cc: tech_talk <[email protected]>
Date: Fri, 27 Jul 2007 11:44:26 +0200
Heinrich du Toit wrote:

Ok that's great, will look into it. :)
But what I need is more like a message log system.
The means like it can log 100 messages in a second if something happens
and then sit quite for 3 days.

That's why I was thinking to use the stringout record. Then my SNL
program can simply write to the stringout record and that will get
logged everytime. Or maybe this is not such a good idea?


Hello Heinrich,
you are right: it is not a good idea :-(
For strings and waveforms channel access just sends out the most recent value.
If the value is changing faster than channel access can send out the data, it is not cashed but overwritten.
See the details on tech-talk thread "soft IOC string and array records".


I think there are two application you could use:
- either CMLOG, which is not specialized on IOCs (and therefore maybe oversized for you) or
- the "iocLogServer" facility, a central process to collect messages from IOCs


iocLog allows you to send messages with errlogPrintf and they are written to a file by the log server.
See IOC Application Developpers Guide: "IOC Error Logging".
The good thing: it is part of the EPICS base and you already have it installed.
Just start an iocLogServer and tell your IOC to switch logging on.


Regards
Andreas

--
Dr. Andreas Luedeke, SLS Operations Manager, Tel:+41-56-3104002
[email protected], http://people.web.psi.ch/luedeke


References:
asyn driver for CMLOG? Heinrich du Toit
Re: asyn driver for CMLOG? Maren Purves
Re: asyn driver for CMLOG? Heinrich du Toit

Navigate by Date:
Prev: Re: asyn driver for CMLOG? Heinrich du Toit
Next: Re: asyn driver for CMLOG? Maren Purves
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: Re: asyn driver for CMLOG? Heinrich du Toit
Next: Re: asyn driver for CMLOG? Maren Purves
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 ·