https://github.com/diamondlightsource/epicsdbbuilder
Tool for building EPICS databases
https://github.com/diamondlightsource/epicsdbbuilder
from-dls-controls
Last synced: 3 months ago
JSON representation
Tool for building EPICS databases
- Host: GitHub
- URL: https://github.com/diamondlightsource/epicsdbbuilder
- Owner: DiamondLightSource
- License: apache-2.0
- Created: 2015-03-09T09:37:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T06:27:50.000Z (10 months ago)
- Last Synced: 2025-01-09T05:25:21.430Z (4 months ago)
- Topics: from-dls-controls
- Language: Python
- Size: 11.4 MB
- Stars: 9
- Watchers: 4
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
EPICS Database Builder
======================|code_ci| |docs_ci| |coverage| |pypi_version| |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/DiamondLightSource/epicsdbbuilder
Documentation https://DiamondLightSource.github.io/epicsdbbuilder
============== ==============================================================A simple example of the use of this library is the following:
.. code:: python
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 = cWriteRecords('output.db')
.. |code_ci| image:: https://github.com/DiamondLightSource/epicsdbbuilder/workflows/Code%20CI/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/epicsdbbuilder/actions?query=workflow%3A%22Code+CI%22
:alt: Code CI.. |docs_ci| image:: https://github.com/DiamondLightSource/epicsdbbuilder/workflows/Docs%20CI/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/epicsdbbuilder/actions?query=workflow%3A%22Docs+CI%22
:alt: Docs CI.. |coverage| image:: https://codecov.io/gh/DiamondLightSource/epicsdbbuilder/branch/master/graph/badge.svg
:target: https://codecov.io/gh/DiamondLightSource/epicsdbbuilder
:alt: Test Coverage.. |pypi_version| image:: https://img.shields.io/pypi/v/epicsdbbuilder.svg
:target: https://pypi.org/project/epicsdbbuilder
:alt: Latest PyPI version.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
:target: https://opensource.org/licenses/Apache-2.0
:alt: Apache License..
Anything below this line is used when viewing README.rst and will be replaced
when included in index.rstSee https://DiamondLightSource.github.io/epicsdbbuilder for more detailed documentation.