Beemer is a Python package for working with process variables (PVs) from EPICS input/output controllers (IOCs). The PVs are exposed via the channel access (CA) protocol using the included EPICS Docker container or caproto's CA server. Examples of each approach are provided in this repository.
Use conda to create a Python environment where beemer is installed in editable (developer) mode.
conda env create --file environment.yml
conda activate beemer
The examples demonstrate two approaches of using beemer to access PVs. One approach uses softIoc from an EPICS Docker container as shown in the diagram below. See the epics-base/Dockerfile
to build the Docker image and container.
flowchart LR
CaClient --> Docker
subgraph Docker
direction LR
EPICS --> PVs
end
The other approach uses caproto's CA server for the PVs as shown below.
flowchart LR
CaClient --> B["Caproto Server"] --> PVs
Both approaches can be implemented over HTTP using the HttpClient
instead of the CaClient
. See the comments in the examples for usage instructions.
See the links below for more information about EPICS and caproto.