Skip to content
eicorgPublic

About

Rapid development of EPICS PVAccess servers for various instruments

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epicsdev

epicsdev is a Python framework designed for rapidly developing EPICS PVAccess servers utilizing the p4p library.

Device Process Variables (PVs) are defined using a highly compact format:

[name, description, initial_value, attributes]

Device-specific logic resides within a small, well-structured Python file following a predictable pattern. Given an instrument programming manual, an LLM assistant (such as GitHub Copilot) can easily leverage this pattern to spin up initial support for new hardware in under an hour.


Key Features

  • Built-in Services: Out-of-the-box support for autosave/restore, IocStats, heartbeat monitoring, and PV-put logging.
  • Rapid Prototyping: Simple, declarative tuple structure for PV definitions.
  • LLM-Friendly: Highly predictable boilerplate that allows AI code assistants to write drivers effortlessly.
  • OPI Integration: Automated operator interface generation for Phoebus.

Getting Started

1. Generate a PVAccess Server

Follow the Detailed Server Generation Guide to bootstrap a functional PVAccess server supporting your instrument's core functions.

2. Generate an OPI Display

You can automatically create an Operator Interface (OPI) layout using phoebusgen. See the OPI Generation Instructions for details.

3. Quick Test (Simulation Mode)

To see the framework in action without physical hardware, you can launch a simulated multi-channel waveform generator, which can be useful for stress-testing of EPICS installations. The following command generates 100 noisy waveforms (1,000 points each) alongside 300 scalar parameters:

python -m epicsdev.multiadc -C 100 -n 1000

Other examples to run: single waveform generator and multi-peak image generator

python -m epicsdev.epicsdev
python -m epicsdev.imagegen

List of fully functional PVAccess servers, developed using epicsdev

Power Supplies

Oscilloscopes

Signal Generators

Data Acquisition instruments

Magnetometers

Simulation Utilities

About

Rapid development of EPICS PVAccess servers for various instruments

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages