Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.49 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.49 KB

Beemer

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.

Installation

Use conda to create a Python environment where beemer is installed in editable (developer) mode.

conda env create --file environment.yml
conda activate beemer

Examples

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
Loading

The other approach uses caproto's CA server for the PVs as shown below.

flowchart LR
    CaClient --> B["Caproto Server"] --> PVs
Loading

Both approaches can be implemented over HTTP using the HttpClient instead of the CaClient. See the comments in the examples for usage instructions.

Further reading

See the links below for more information about EPICS and caproto.