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

Subject: Re: compressArray
From: [email protected]
To: Kalantari Babak <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 2 Sep 2010 09:14:06 -0700
Babak,

You can use compress records with waveform records...
The compress record whenever processed buffers all of the INP waveform (only its valid values <NELM)

# Circular buffer 
record(compress, "$(compressRecord)") {
        field(DESC, "Circular Buffer")
        field(SCAN, "Passive")
        field(NSAM, "$(numberOfSamplesInCompressRecord)")
        field(INP,  "$(inputWaveformRecord) NPP NMS")
        field(ALG,  "Circular Buffer")
}

Note: Make sure the compress record process only when the INP waveform has been updated entirely otherwise you may buffer the same values twice or more.
Maybe you can FLNK or PP them ...

--
Emmanuel





On 15:58 Mon 16 Aug     , Kalantari Babak wrote:
> For the synchronous data collection of SwissFEL (and its test facility)
> we make intensive use of "compress" record to locally buffer the
> acquired data in high rate at each IOC. 
> 
> In addition to single valued PVs (scalars) we need to buffer waveforms
> as well. This is especially interesting for buffering images and LLRF
> data. Before going for any development, I would like to know if anybody
> has worked on something which behaves like "compress" record (at least
> for buffering) but for waveforms (any custom record types, soft device
> supports, etc). 
> 
> Any idea is welcome.  
>    
> Babak
> 

-- 
Emmanuel

Replies:
RE: compressArray Kalantari Babak
References:
compressArray Kalantari Babak

Navigate by Date:
Prev: Re: epics site off Andrew Johnson
Next: Re: msi again Linda.Pratt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: compressArray Kalantari Babak
Next: RE: compressArray Kalantari Babak
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 03 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·