g+
g+ Communities
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 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
<== Date ==> <== Thread ==>

Subject: Re: What's calling get_array_info?
From: Michael Davidsaver <mdavidsaver@bnl.gov>
To: Ned Arnold <nda@aps.anl.gov>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 09 Jan 2013 12:02:49 -0500
On 1/9/2013 11:57 AM, Ned Arnold wrote:
The sscan record in synapps does that ... if you are looking for an example.  It "double buffers" the collected data allowing a client more time to access it.

From sscanRecord.c:
if (precPvt->validBuf == B_BUFFER) {
      paddr->pfield = precPvt->detBufPtr[group].pBufB;
} else {
      paddr->pfield = precPvt->detBufPtr[group].pBufA;
}

Well how about that.  This is just what I was thinking.  I had assumed that simply overwriting pfield would cause problems.  I'll definitely take a close look at this code.

Thanks,
Michael


Replies:
Re: What's calling get_array_info? Tim Mooney

Navigate by Date:
Prev: What's calling get_array_info? Michael Davidsaver
Next: Re: What's calling get_array_info? Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
Navigate by Thread:
Prev: What's calling get_array_info? Michael Davidsaver
Next: Re: What's calling get_array_info? Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
ANJ, 09 Jan 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·