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

Subject: RE: [EXTERNAL] Re: Creating SNL in loadable library
From: "Barrett \(US\), Patrick E via Tech-talk" <tech-talk at aps.anl.gov>
To: "'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 17:12:56 +0000

Hello Jure,

 

Thanks for your thoughts.  It actually have me thinking of ways to change the SNL programs which run based on our configuration.  I think I can make that work.  The issue I was trying to get around is it seems the IOC has to be built with knowledge of the SNL programs it can run.  That was what I was trying to work around, but if I may be able to build with all of them and just start the ones I need at runtime.

 

Thanks,

Patrick

 

From: Jure Varlec <jure.varlec at cosylab.com>
Sent: Monday, March 25, 2024 3:23 AM
To: Barrett (US), Patrick E <patrick.e.barrett at boeing.com>
Subject: [EXTERNAL] Re: Creating SNL in loadable library

 

EXT email: be mindful of links/attachments.


 

Hello Patrick,

While I'm sure it's possible to create loadable plugins from SNL code using some clever tricks, are you sure it's necessary? I don't see much difference if you simply add several different programs to the IOC. In the end, which program runs is a matter of starting it with the seq command. In other words, choosing which SNL program to run is a matter of configuration by default.

Best,
Jure

On 3/23/24 03:32, Barrett (US), Patrick E via Tech-talk wrote:

Caution: This email originated from outside of Cosylab.

 

Hello,

 

I have an IOC which would load different SNL definitions based on a configuration file.  There are some state sets which are the same and some different ones dependent on the configuration.  Has anyone build SNL into libraries which could be dynamically loaded dependent on a configuration, instead of being build into the IOC code directly?

 

Thanks,

 

Patrick Barrett

 


Replies:
Re: [EXTERNAL] Re: Creating SNL in loadable library Johnson, Andrew N. via Tech-talk
References:
Creating SNL in loadable library Barrett (US), Patrick E via Tech-talk

Navigate by Date:
Prev: How can I get a PV from an external server from inside a docker container? Carsten Winkler via Tech-talk
Next: Re: [EXTERNAL] Re: Creating SNL in loadable library 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  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: Creating SNL in loadable library Jure Varlec via Tech-talk
Next: Re: [EXTERNAL] Re: Creating SNL in loadable library 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  2021  2022  2023  <2024
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·