EPICS Home

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: Dirk Zimoch <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Tue, 08 Jun 2010 11:37:41 +0200
[email protected] 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  2018  2019  2020  2021  2022  2023  2024 
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  2018  2019  2020  2021  2022  2023  2024