Skip to main content

EPICS Database Builder

Project description

Code CI Docs CI Test Coverage Latest PyPI version Apache License

This Python module is designed to make it easy to build complex EPICS databases by writing a Python script. While writing record templates the corresponding dbd entries are checked to reduce the number of errors in the database.

PyPI

pip install epicsdbbuilder

Source code

https://github.com/dls-controls/epicsdbbuilder

Documentation

https://dls-controls.github.io/epicsdbbuilder

A simple example of the use of this library is the following:

from epicsdbbuilder import *
InitialiseDbd('/dls_sw/epics/R3.14.12.3/base/')
SetTemplateRecordNames()

a = records.ao('TEST')
c = records.calc('CALC', CALC = 'A+B', SCAN = '1 second', INPA = a.VAL)
c.INPB = c

WriteRecords('output.db')

See https://dls-controls.github.io/epicsdbbuilder for more detailed documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epicsdbbuilder-1.5.tar.gz (19.2 kB view hashes)

Uploaded Source

Built Distributions

epicsdbbuilder-1.5-py3-none-any.whl (23.7 kB view hashes)

Uploaded Python 3

epicsdbbuilder-1.5-py2-none-any.whl (23.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page