EPICS Home

Experimental Physics and Industrial Control System


 
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: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 24 Feb 2025 11:31:51 +0100
On Mon, 24 Feb 2025 at 08:49, Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:

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.)

Cheers,
~Ralph


Replies:
RE: Make waveform from ai record Žiga Oven via Tech-talk
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

Navigate by Date:
Prev: RE: Make waveform from ai record Abdalla Ahmad via Tech-talk
Next: RE: Make waveform from ai record Žiga Oven 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 Abdalla Ahmad via Tech-talk
Next: RE: Make waveform from ai record Žiga Oven 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