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> | 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> |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Make waveform from ai record |
From: | Žiga Oven via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Tue, 25 Feb 2025 12:17:04 +0000 |
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.
Best regards, Žiga From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Ralph Lange via Tech-talk On Mon, 24 Feb 2025 at 08:49, Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:
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.) Cheers, |