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  <20092010  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  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: "buffer over-write" problem with StringIn record
From: Ralph Lange <[email protected]>
To: Maurizio Montis <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 10 Sep 2009 11:01:55 -0400
Hi Maurizio,

there's not much you can do inside the stringin record - it will post a value whenever it gets processed and the string changes.

The CA Archiver keeps a ring buffer for each channel, where values are stored until the buffer is flushed out to disk.
The "buffer overwrite" will occur usually on monitored channels, if values are coming in with a much higher rate than the archiver configuration declares. You have to adjust the archiver configuration:
  • Start a command line camonitor on the channel to see how fast the updates are.
  • Set the <period> for the channel to something that gets close to the real update rate.
  • If update rates are changing a lot: Increase the <buffer_reserve> for a higher safety margin.
Good luck!
Ralph


Maurizio Montis wrote:
Hi,
i have an IOC connectied with an High Current Power Supply and i use
StringIn/StringOut records to comunicate with it. I also have an EPICS
Archiver that archives any PV in my Channel Access, but i have a
"buffer over-write" problem with the StringIn record. If i have Ai
records i know i have to set ADEL and MDEL fields, but i would like to
know if i can do the same with my StringIn and/or how i have to set my
record to solve this problem.
Thanks a lot!

Maurizio M.
  

References:
"buffer over-write" problem with StringIn record Maurizio Montis

Navigate by Date:
Prev: RE: sequencer feature request Mark Rivers
Next: RE: Recommendation for digitizer? Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: "buffer over-write" problem with StringIn record Maurizio Montis
Next: StreamDevice Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·