Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

PvaPy: Python API for EPICS PV Access

Conference ·

As the number of sites deploying and adopting EPICS Version 4 grows, so does the need to support PV Access from multiple languages. Especially important are the widely used scripting languages that tend to reduce both software development time and the learning curve for new users. In this paper we describe PvaPy, a Python API for the EPICS PV Access protocol and its accompanying structured data API. Rather than implementing the protocol itself in Python, PvaPy wraps the existing EPICS Version 4 C++ libraries using the Boost.Python framework. This approach allows us to benefit from the existing code base and functionality, and to significantly reduce the Python API development effort. PvaPy objects are based on Python dictionaries and provide users with the ability to access even the most complex of PV Data structures in a relatively straightforward way. Its interfaces are easy to use, and include support for advanced EPICS Version 4 features such as implementation of client and server Remote Procedure Calls (RPC).

Research Organization:
Argonne National Laboratory (ANL)
Sponsoring Organization:
USDOE Office of Science - Office of Basic Energy Sciences
DOE Contract Number:
AC02-06CH11357
OSTI ID:
1336186
Country of Publication:
United States
Language:
English

Similar Records

The EPICS process variable gateway -- Version 2.
Conference · Fri Dec 31 23:00:00 EST 2004 · OSTI ID:982592

PvaPy streaming framework for real-time data processing
Journal Article · Fri Apr 25 00:00:00 EDT 2025 · Journal of Synchrotron Radiation (Online) · OSTI ID:2562725

Related Subjects