EPICS Controls Argonne National Laboratory

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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Disable PVs processing based on some condition
From: Maren Purves via Tech-talk <tech-talk at aps.anl.gov>
To: Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sun, 13 Nov 2022 23:12:46 -1000
Can you just set scanning to passive? - I know that depends on how the
processing is triggered, so it may not work in your case.

Aloha,
Maren Purves
East Asian Observatory

On Sun, Nov 13, 2022 at 10:09 PM Abdalla Ahmad via Tech-talk
<tech-talk at aps.anl.gov> wrote:
>
> Hello
>
>
>
> I would like to disable processing for certain PVs based on some condition, I used the DISA field by writing 1 to it in a dfanout record from a calcout record (OUT field). The setup is working fine but with a strange behavior (which might be expected). Writing anything to DISA does not take effect until the PV is processed, so I had to make another fanout record only to process those PVs whenever the calcout record is processed (FLNK). Now assume if the condition is met and the PVs got disabled, if you write anything to the PV, it will not process it but on the next change from calcout. This can be problematic in certain setups. Is there any way to avoid writing at all when the PV is disabled? Or a better way to disable PVs? Thanks.
>
>
>
> Abdalla Al-Dalleh
>
> Control Engineer
>
> SESAME (Synchrotron-light for Experimental Science and Applications in the Middle East)
> P.O. Box 7, Allan 19252, Jordan
> Tel: +96253511348 , ext. 265
>
> Fax: +96253511423
>
> abdalla.ahmad at sesame.org.jo
>
> www.sesame.org.jo
>
>

References:
Disable PVs processing based on some condition Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: Re: Disable PVs processing based on some condition Ralph Lange via Tech-talk
Next: Re: Allied Vision Alvium Camera streaming issue Andy Foster 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  <20222023  2024 
Navigate by Thread:
Prev: RE: Disable PVs processing based on some condition Abdalla Ahmad via Tech-talk
Next: Re: Disable PVs processing based on some condition Rolf Keitel 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  <20222023  2024 
ANJ, 16 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·