Experimental Physics and Industrial Control System
|
Hi Abdalla,
One way how to create waveform from scalars with EPICS records is Compress Record with an ALG field set to Circular Buffer and INP field pointing to your AI record.
https://epics.anl.gov/base/R7-0/8-docs/compressRecord.html
You still have to configure processing of the compress record (either FLNK from AI record, or CP flag on the INP link) to capture all the 200 samples.
Then you can point a waveform record to read the 200 sample with either 1 second SCAN rate or you can create some other (“complex”) logic to extract the data into waveform only when 200 “fresh”
samples are in the compress record.
Hope this helps,
Žiga
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
Abdalla Ahmad via Tech-talk
Sent: Thursday, February 20, 2025 07:56
To: tech-talk at aps.anl.gov
Subject: Make waveform from ai record
I have a fast ai record (200 Hz) in a stream-device-based IOC. Is there a "standard way" within EPICS records to transform these 200 samples into a single waveform record of size 200 processed at 1 second for example? Thanks.
Best Regards,
Abdalla.
Control Engineer
SESAME
|
- Replies:
- RE: Make waveform from ai record Abdalla Ahmad via Tech-talk
- References:
- Make waveform from ai record Abdalla Ahmad via Tech-talk
- Navigate by Date:
- Prev:
Make waveform from ai record Abdalla Ahmad via Tech-talk
- Next:
CAENels TetrAMM questions Mark Rivers via Tech-talk
- 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
<2025>
- Navigate by Thread:
- Prev:
Make waveform from ai record Abdalla Ahmad via Tech-talk
- Next:
RE: Make waveform from ai record Abdalla Ahmad via Tech-talk
- 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
<2025>
|
ANJ, 24 Feb 2025 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|