Skip to content

Add P4P to genie python build #8358

@FreddieAkeroyd

Description

@FreddieAkeroyd

As a developer i would like to use p4p EPICS v4 bindings in genie python, this is needed for #8309

Acceptance Criteria

  • p4p is available to import and use in a genie python session

How to Test

See https://mdavidsaver.github.io/p4p/starting.html

  • 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

Metadata

Metadata

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions