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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Waveform Record Device Support
From: emmanuel_mayssat@lynceantech.com
To: graham.cox@stfc.ac.uk
Cc: tech-talk@aps.anl.gov
Date: Mon, 7 Jun 2010 14:39:21 -0700
On 10:06 Mon 07 Jun     , graham.cox@stfc.ac.uk 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 
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 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·