aioca is an asynchronous EPICS Channel Access client for asyncio and Python using libca via ctypes.
Source | https://github.com/DiamondLightSource/aioca |
---|---|
PyPI | pip install aioca |
Documentation | https://DiamondLightSource.github.io/aioca |
Releases | https://github.com/DiamondLightSource/aioca/releases |
It exposes a high level interface similar to the commandline tools::
caget(pvs, ...)
Returns a single snapshot of the current value of each PV.
caput(pvs, values, ...)
Writes values to one or more PVs.
camonitor(pvs, callback, ...)
Receive notification each time any of the listed PVs changes.
connect(pvs, ...)
Optionally can be used to establish PV connection before using the PV.
See https://DiamondLightSource.github.io/aioca for more detailed documentation.