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: ring buffer overflow
From: "Mark Rivers" <[email protected]>
To: "Hinko Kocevar" <[email protected]>, <[email protected]>
Date: Mon, 8 Jun 2009 08:19:07 -0500
Hi Hinko,

The EPICS device support keeps a "ring buffer" (FIFO) of callbacks from the driver.  This is used when the records are I/O Intr scanned.  This is intended to buffer callback values in the case when they come in a rapid burst and record processing cannot keep up.  If the callbacks from the driver come faster than the record processing can run, then you will get the message you see when the buffer overflows.  It is probably not a serious error, but you can increase the size of the buffer if needed.  The default size of the buffer is 10 values, but this can be changed on a per-record basis.

How fast is your driver generating callbacks?

Mark



-----Original Message-----
From: [email protected] on behalf of Hinko Kocevar
Sent: Mon 6/8/2009 1:47 AM
To: [email protected]
Subject: ring buffer overflow
 
Hi all,

I'm creating an EPICS asyn support driver for EPICS base 3.14.10, asyn
4.10 and managed to get it running on the target armel device.
Sometimes after initialization completes I get several messages like these:

...
iocRun: All initialization complete
2009/06/08 06:37:46.774 LIBERA01:SA:SA_MONITOR devAsynUInt32Digital
getCallbackValue error, 1 ring buffer overflows
epics>

What does it mean?

Thank you,
Hinko

-- 
Hinko Kocevar
Technical support engineer
Instrumentation Technologies
Velika pot 22, SI-5250 Solkan - Slovenia
T:+386 5 3352600, F:+386 5 3352601
mailto: [email protected]

http://www.i-tech.si - When your users demand stability




Replies:
Re: ring buffer overflow Hinko Kocevar
References:
ring buffer overflow Hinko Kocevar

Navigate by Date:
Prev: problem about environment variables under vxWorks-6.6 Liu, Gongfa
Next: Re: ring buffer overflow Hinko Kocevar
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: ring buffer overflow Hinko Kocevar
Next: Re: ring buffer overflow Hinko Kocevar
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 ·