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

Subject: Infinite FLNK loop
From: "Daykin, Evan via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 6 Dec 2021 20:43:36 +0000

Hi Tech Talk,

 

I have a set of three records on my IOC which asynchronously send outputs to a hardware device, call them “A, B and C”. When one of these three processes, the other two should also process.

 

My normal idiom is as follows:

 

record(ao, "A")

{

  …

  field(FLNK, "B")

}

 

record(ao, "B")

{

  …

  field(FLNK, "C")

}

 

record(ao, "C")

{

  …

  field(FLNK, "A")

}

 

Which always works fine if the records are Soft Channels, since all three are in the same lock set and the loop is smart enough to terminate. In my case where all three go to (slow) hardware, this continues infinitely. I see here (https://epics.anl.gov/tech-talk/2006/msg00216.php)  that this was known behavior in 2006, but I’d like to see if there are any alternatives or workarounds in the following 15 or so years.

 

Thank you,

Evan

 

Evan Daykin

Controls Engineer

Facility for Rare Isotope Beams

Michigan State University

640 South Shaw Lane

East Lansing, MI 48824, USA

Tel. 517-908-7678

Email: daykin at frib.msu.edu

cid:image002.jpg@01D07041.57B6D750

 

 


Replies:
Re: Infinite FLNK loop Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: CentOS Alternatives Ernesto Paiser via Tech-talk
Next: Trying to use elauncher: _main_ thread failed Crisp, Daniel 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Phoebus scripts on Windows Kasemir, Kay via Tech-talk
Next: Re: Infinite FLNK loop Johnson, Andrew N. 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  <20212022  2023  2024 
ANJ, 06 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·