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: Dirk Zimoch <dirk.zimoch@psi.ch>
To: graham.cox@stfc.ac.uk
Cc: tech-talk@aps.anl.gov
Date: Tue, 08 Jun 2010 11:37:41 +0200
graham.cox@stfc.ac.uk wrote:

As a follow up question, what would be the recommended way of performing calculations on array data within the EPICS database? Do I have to resort to subRoutine records? In my individual channels of data (subArray records) I have multiple quartets of data, one for for each turn captured, I need to perform calculations on each of these quartets to determine beam position for each turn.


General calculations can be done with the aCalcout record (SynApps). But as far as I know you cannot do iterations over n-tuples in an array.


Since you have to calculate 2 (mabye 3) values simultaneously out of 4 inputs you are probably served best with the genSub (or aSub if you have base 3.14.11)

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

Navigate by Date:
Prev: Re: Waveform Record Device Support Burkhard Kolb
Next: Re: RE: Waveform Record Device Support nda
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 Burkhard Kolb
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 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·