Experimental Physics and Industrial Control System
|
Hi,
A subroutine record calls a user defined function with a pointer to
the record structure
as an arugument. It means you can get a waveform data from input link,
such as prec->inpa.
However, you cannot put waveform data as .VAL field of the subroutine
reocrd.
.VAL field of the subroutine record is defined as DBF_DOUBLE.
It should not be so difficult to combine a subroutine record and a wave
form record
for creating new subroutine record with waveform output.
If you just needs a linear transformation of waveform data, our
colleague has
a record support for such job, by the way.
We also have a concat record which concatenate several waveform (or
scaler) data into
a single waveform data.
regards,
Noboru
DING JIANGUO wrote:
hi, all
Has anyone implemented array processing with a
subroutine record?
I want to access the values in a waveform (WFM) record with a
subroutine record, cacultate for each element and pass the array to
the output.
+-------+
WFM -->|a out|----> WFM
| |
ai -->|b |
| |
ai -->|c | for idx=0..499
| | (a[idx] - b ) * c
| SUB- |
| ROUT- |
| INE |
+-------+
Jianguo DING
SSRF, Shanghai Institute of Nuclear Research
Chinese Academy of Science
EMAIL: [email protected] <mailto:[email protected]>
- References:
- Waveform calaulation for each element DING JIANGUO
- Navigate by Date:
- Prev:
RE: Waveform calaulation for each element Singleton, SJ (Steve)
- Next:
Re: Waveform calaulation for each element Andy Foster
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Waveform calaulation for each element DING JIANGUO
- Next:
Re: Waveform calaulation for each element Alexei Dmitrovski
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|