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: Re: Best way to properly "synchronize" records between two IOCs
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 14 Jun 2021 16:19:15 +0200
In general, there are two ways to work around the asynchronous processing side effect (returning the old value then processing):
- Use CP input links (as Mark suggested).
- Use FLNK processing.
Both are triggered at the second phase of an asynchronous processing.

Which is more appropriate depends mostly on your application. Aspects to consider:
FLNK processing is immediate (calling the process function of the target) when local, loosely coupled using Channel Access when remote.
FLNKs only transfer control; fetching data will need another Channel Access roundtrip.
With input links, you're getting notified when the connection goes away - output links are fire-and-forget.
CP inputs use monitors and will always get an update when the connection comes up - that's like a late PINI processing for the record with the input link. If a record has many CP inputs, it will process many times after reboot.

Cheers,
~Ralph


References:
Best way to properly "synchronize" records between two IOCs Wang, Andrew via Tech-talk
Re: Best way to properly "synchronize" records between two IOCs Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: Best way to properly "synchronize" records between two IOCs Wang, Andrew via Tech-talk
Next: EPICS-MODBUS plus SNC Sequencer in and IOC Josh Fiddler 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: Best way to properly "synchronize" records between two IOCs Wang, Andrew via Tech-talk
Next: EPICS-MODBUS plus SNC Sequencer in and IOC Josh Fiddler 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, 14 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·