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: [EXTERNAL] Re: Creating SNL in loadable library |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Barrett (US), Patrick E" <patrick.e.barrett at boeing.com>, "'jure.varlec at cosylab.com'" <jure.varlec at cosylab.com>, "'tech-talk at aps.anl.gov'" <tech-talk at aps.anl.gov> |
Date: | Mon, 25 Mar 2024 18:46:23 +0000 |
Hi Patrick, It is possible to build and load SNL programs as loadable plugins, we made that possible using the IOC's dlload command back in 3.15. I believe the PSI and ESS methods of building
and booting IOCs use that, but I haven't tried it for a while and I forget what you have to do to create and load the DBD file that tells the IOC where the SNL code is. Someone from one of those EPICS sites may be able to help. One other possibility you can consider is to build your SNL into a stand-alone program, so that code runs in a completely separate process from the IOC. That decouples the two
and allows you to start and stop them independently, although you do have to ensure that the SNL code is properly written to handle waiting for all its CA connections at startup, and for the PVs going away and coming back when the IOC comes online again. - Andrew -- Complexity comes for free, Simplicity you have to work for. |