EPICS Home

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: "Veseli, Sinisa 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:41:16 +0000
> I don't think our DAQ servers are including it so it may be that pvDatabase also starts the server independently?

Not as far as I know. APS DAQ software does not use startPVAServer. We have a wrapper singleton class (https://git.aps.anl.gov/C2/daq/modules/daq-base/-/blob/master/src/pva/DaqPvaServer.cpp?ref_type=heads) which starts PVA server whenever the first instantiated plugin acquires singleton instance and adds its PVA record.

--
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli at anl.gov
(630)252-9182

From: Core-talk <core-talk-bounces at aps.anl.gov> on behalf of Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
Sent: Wednesday, March 13, 2024 11:24 AM
To: Johnson, Andrew N. <anj at anl.gov>
Cc: core-talk at aps.anl.gov <core-talk at aps.anl.gov>
Subject: Re: startPVAServer prevents windows-x64 IOC from exiting
 
On 3/13/24 09:16, Johnson, Andrew N. wrote:
...
> Does that require PVAServerRegister.dbd to have been included in the build?

Yes it does.


> It's possible Mark might not have added that,

He did.

https://urldefense.us/v3/__https://github.com/areaDetector/ADCore/blob/631fb284dc06d52b9286e62418a80f7f3a7a05e2/ADApp/commonDriverMakefile*L28__;Iw!!G_uCfscf7eWS!bU9CfhLz65xj3YZ2XjTgqbXdg_BbBW1UXuUqys0TV6qj6ej0oiRzquBkRrbsTDLBKFavDDj3XCOcvOso-RUCwrFndQ$


> 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.


It is mentioned in the " Adding QSRV to your IOC" section of the QSRV1 documentation.

https://urldefense.us/v3/__https://epics-base.github.io/pva2pva/__;!!G_uCfscf7eWS!bU9CfhLz65xj3YZ2XjTgqbXdg_BbBW1UXuUqys0TV6qj6ej0oiRzquBkRrbsTDLBKFavDDj3XCOcvOso-RVpt9RPlQ$


> 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
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk

Navigate by Date:
Prev: RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers 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
Navigate by Thread:
Prev: Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
Next: RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers 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