EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024 Index 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: startPVAServer prevents windows-x64 IOC from exiting
From: Mark Rivers via Core-talk <core-talk at aps.anl.gov>
To: "'Johnson, Andrew N.'" <anj at anl.gov>, Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Wed, 13 Mar 2024 16:26:02 +0000

Hi Andrew,

 

ADCore/ADApp/commonDriverMakefile does include this line:

$(DBD_NAME)_DBD += PVAServerRegister.dbd

 

So I am including that in areaDetector, but not in the test with exampleApp from makeBaseApp.

 

Mark

 

From: Johnson, Andrew N. <anj at anl.gov>
Sent: Wednesday, March 13, 2024 11:17 AM
To: Michael Davidsaver <mdavidsaver at gmail.com>; Mark Rivers <rivers at cars.uchicago.edu>
Cc: core-talk at aps.anl.gov
Subject: Re: startPVAServer prevents windows-x64 IOC from exiting

 

On 3/13/24, 10:51 AM, "Core-talk" <core-talk-bounces at aps.anl.gov> wrote:

 

On 3/13/24 06:19, Mark Rivers wrote:
> I just found something interesting.  If I comment out the startPVAServer line it does not hang (which I already knew), but there is now a new atExit handler called first, @pva_server_cleanup.

That is interesting.  You should not need startPVAServer.
The PVA server starts automatically during iocInit(), and
has done so for some years.

Does that require PVAServerRegister.dbd to have been included in the build? It's possible Mark might not have added that, and I'm not sure whether that matters or not. Other than adding it to the exampleApp/src/Makefile the only place we've ever published a mention of that DBD file is the release notes from pvAccessCPP, and those notes don't explain what it does. I don't think our DAQ servers are including it so it may be that pvDatabase also starts the server independently?

- Andrew

-- 

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

 

 


References:
startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
Re: startPVAServer prevents windows-x64 IOC from exiting Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
Next: Re: startPVAServer prevents windows-x64 IOC from exiting Veseli, Sinisa via Core-talk
Index: 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: startPVAServer prevents windows-x64 IOC from exiting Veseli, Sinisa via Core-talk
Next: Build failed: EPICS Base 7 base-7.0-1110 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
ANJ, 13 Mar 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·