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: | Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> |
To: | Žiga Oven <ziga.oven at cosylab.com>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov> |
Date: | Mon, 24 Feb 2025 07:49:26 +0000 |
Hello Ziga Thanks, this is working as I expected by setting the waveform scan to 1 second. 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. Best Regards, Abdalla Al-Dalleh Control Engineer SESAME P.O. Box 7, Allan 19252, Jordan Fax: +96253511423 Email :
abdalla.ahmad at sesame.org.jo From: Žiga Oven <ziga.oven at cosylab.com> 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. 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 Hi 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 |