Experimental Physics and Industrial Control System
|
Hi Abdallah,
Another way, is to clear/reset the compress record, once the number of samples reaches 200…
You can do this by looking at the NUSE field and once it reaches the value 200, you can extract the waveform and reset the compress record by writing to RES field.
Do keep in mind that this might be an “expensive” option, as you will have additional records, and you will be overwriting the compress record value with 0s on each reset.
Best regards,
Žiga
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Ralph Lange via Tech-talk
Sent: Monday, February 24, 2025 11:32
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Make waveform from ai record
This maybe a general question not related only to my case, but how to conditionally trigger a PV from within EPICS records? I just had an idea where
I want to export or scan the waveform once I had 200 samples exactly, already in the IOC I am tracking the number of samples.
I would use a calcout, FLNKed in a chain fast-ai->ringbuffer->calcout, configured as a counter with an upper limit.
Once the limit is reached, the calcout processes the second array record that takes the snapshot of the ring buffer. (In the calcout, use one of the "Transition..." choices for OOPT and point the OUT to the snapshot record using PP.)
|
- References:
- Make waveform from ai record Abdalla Ahmad via Tech-talk
- RE: Make waveform from ai record Žiga Oven via Tech-talk
- RE: Make waveform from ai record Abdalla Ahmad via Tech-talk
- Re: Make waveform from ai record Ralph Lange via Tech-talk
- Navigate by Date:
- Prev:
Re: Make waveform from ai record Ralph Lange via Tech-talk
- Next:
Re: Using NDPluginGather to collect NDArrays from multiple detectors? 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:
Re: Make waveform from ai record Ralph Lange 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>
|
ANJ, 25 Feb 2025 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|