mdavidsaver / pvxs

PVA protocol client/server library and utilities.
https://mdavidsaver.github.io/pvxs/
Other
19 stars 25 forks source link

Enable PVXS_QSRV_ENABLE by default #58

Closed tboegi closed 7 months ago

tboegi commented 9 months ago

Switch the default value for PVXS_QSRV_ENABLE from "NO" to "YES". This means that "qsrv" is enabled, once compiled and linked into the IOC. It can be switched off in runtime:

epicsEnvSet("PVXS_QSRV_ENABLE", "NO")

before calling iocInit()

AppVeyorBot commented 9 months ago

:white_check_mark: Build pvxs 1.0.945 completed (commit https://github.com/mdavidsaver/pvxs/commit/7be39095fa by @tboegi)

mdavidsaver commented 7 months ago

eddc6870217de329e8eafcb268f8570f76258deb includes a mostly equivalent change. Going forward, QSRV2 will be enabled by default unless QSRV1 is also loaded. This default can be overridden by setting $PVXS_QSRV_ENABLE or $EPICS_IOC_IGNORE_SERVERS.

QSRV1 is detected by checking if a device support named devWfPDBDemo is registered (from qsrv.dbd). The functional equivalent in QSRV2 is devWfPDBQ2Demo as the "DEMO" device supports must have different names.