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.