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: enable pvAccess by default
From: William Kirstaedter via Tech-talk <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov>
Date: Tue, 2 Apr 2024 21:50:11 +0200

Hi Andrew,

I'm not too deep into the EPICS (core) "game".

so please elaborate what you mean with "softIOCPVA" executable...

let me explain what I do:

Up until now, I create new IOCs via the "makeBaseApp.pl" script.
mkdir myIOC
cd myIOC
makeBaseApp.pl -t ioc myIOC
makeBaseApp.pl -i -t ioc myIOC

after that, I have a "barebone" IOC which can be compiled but does nothing.

then, I can start integrating my devices.

Im doing this by, for example,
loading the async and streamdevice modules via the *App/src/Makefile and a $(TOP)/../RELEASE.local file,
then creating streamdevice proto files and a *db file for the records.
"make" the IOC.
Finally, I setup and load everything via the st.cmd and have a running system that can control my device.

this is where my idea came from:

right now, the *App/src/Makefile lacks statements to load the PVAserver (whatever it is called now, I always thought theres only one that got developed in EPICS4 and is now mostly done and always included in EPICS 7)

So, if I'd like to switch over from CA to PVA, or at least also enable PVA for all my IOCs, I'd have to add the QSRV library loading to every Makefile of every IOC that I maintain, and, more importantly, recall to add them everytime I create a new IOC for a new Lab or Device or whatever constellation...

Idk, my assumption as a user would have been that PVAserver is always available since I use EPICS 7 which combines "old-world" EPICS 3 and "new-world" EPICS 4 ?

also I wonder how big the ressources impact might be to run an additional PVAserver by default...
I'd assume modern low end hardware can handle that easily.

anyways, thanks for your reply :)

PS: also @Erico, thanks for your answer aswell, I see there might be quite a rabbithole regarding PVA stuff inside of EPICS 7 that I totally wasnt aware of...

William Kirstaedter
PP&B Computer Support Group
Fritz-Haber-Institut Berlin
Am 01.04.24 um 18:17 schrieb Johnson, Andrew N.:

Hi William,

 

On 3/31/24, 3:53 PM, "Tech-talk" tech-talk-bounces at aps.anl.gov wrote:

I would like to know if you have already considered activating pvAccess

for softIOCs by default.

 

How is what you're asking for different than the softiocPVA executable that we already build in the pva2pva module?

 

I would probably adapt the Makefile template and simply copy the section

from the example IOC:

 

# Link QSRV (pvAccess Server) if available

ifdef EPICS_QSRV_MAJOR_VERSION

    _APPNAME__LIBS += qsrv

    _APPNAME__LIBS += $(EPICS_BASE_PVA_CORE_LIBS)

    _APPNAME__DBD += PVAServerRegister.dbd

    _APPNAME__DBD += qsrv.dbd

endif

 

Ultimately, this should not affect any old system, as pvAccess is only

loaded if it is also present in base?

 

PV Access has been part of Base since the first EPICS 7.0.1 release, but many sites aren't building it into all their IOCs — at the APS we use it in AreaDetector camera IOCs and our DAQ systems, but don't build it into our regular EPICS 7 IOCs yet. The extra libraries and threads that it starts would take up resources on our systems.

 

HTH,

 

- Andrew

 

-- 

Complexity comes for free, Simplicity you have to work for.

 

 

thanks in advance,

 

--

William Kirstaedter

PP&B Computer Support Group

Fritz-Haber-Institut Berlin

 

 

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur


Replies:
Re: enable pvAccess by default Timo Korhonen via Tech-talk
References:
enable pvAccess by default William Kirstaedter via Tech-talk
Re: enable pvAccess by default Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Deadline Extended: Register for EPICS Summer School 2024! Marcel Bajdel via Tech-talk
Next: Re: urldefense.us URLs? (was: New Git mirror for the SNL-Sequencer (code and docs)) J. Lewis Muir 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: enable pvAccess by default Johnson, Andrew N. via Tech-talk
Next: Re: enable pvAccess by default Timo Korhonen 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 ·