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.
PP&B Computer Support Group
Fritz-Haber-Institut Berlin