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: Waveform Record Device Support
From: [email protected]
To: [email protected]
Cc: [email protected]
Date: Mon, 7 Jun 2010 14:39:21 -0700
On 10:06 Mon 07 Jun     , [email protected] wrote:
> I am integrating a turn-by-turn BPM system into EPICS and would like to
> store the raw BPM pickup data in a waveform record.  Due to the nature
> of the system, each run can result in a different number of samples for
> each BPM pickup, so the array size is unknown in advance and could
> potentially be different every run.

Given my limited experience with particle accelerators, I am just wondering what kind of system are you working with?
Storage ring, linac, ... pulsed, not pulsed?
If the waveform length is changing, it can only be because data acquisition is asynchronous.
Are you sampling CW signals? I can't think of a system that would work with those requirements.
Could you expend?

> Is it possible to resize the number of waveform record elements in my
> device support, or do I have to size the waveform record in advance for
> the maximum number of samples that could be expected.  Most of the
> examples of waveform device support I see read the nelm field and return
> this fixed amount of data via the records bptr.

Another solutions may be to use FIFO waveforms, aka compress records.
The compress record is part of epics-base.
In this case, the number of samples per channel acquired can be different, but the length of the FIFO stack can be the same.

Good luck,

-- 
Emmanuel

Replies:
RE: Waveform Record Device Support graham.cox
References:
Waveform Record Device Support graham.cox

Navigate by Date:
Prev: Re: CSS BOY and 16-bit Images? Kasemir, Kay
Next: Re: Waveform Record Device Support Till Straumann
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: RE: Waveform Record Device Support Krempasky Juraj
Next: RE: Waveform Record Device Support graham.cox
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, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·