start genie python and type import p4p and get no errors
in genie python type from p4p._p4p import version as myver and then myver() - you should get an integer printed
Run read/write tests based on starting an ioc with python -m p4p.server.cli my:pv:name=int
Start one of our EPICS IOCs e.g. INSTETC and use python -m p4p.client.cli monitor to check a PV it serves (you will need a recent EPICS build - we only PVaccess enabeld out iocs recently)
check that g.get_pv() still work both before and after using p4p API via from p4p.client.thread import Context to read a PV as described in the above web page
As a developer i would like to use p4p EPICS v4 bindings in genie python, this is needed for #8309
Acceptance Criteria
How to Test
See https://mdavidsaver.github.io/p4p/starting.html
import p4p
and get no errorsfrom p4p._p4p import version as myver
and thenmyver()
- you should get an integer printedpython -m p4p.server.cli my:pv:name=int
python -m p4p.client.cli monitor
to check a PV it serves (you will need a recent EPICS build - we only PVaccess enabeld out iocs recently)g.get_pv()
still work both before and after using p4p API viafrom p4p.client.thread import Context
to read a PV as described in the above web page