Coder Social home page Coder Social logo

rerpha / autoparamdriver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cosylab/autoparamdriver

0.0 0.0 0.0 230 KB

An asyn driver that creates parameters dynamically based on content of record links.

C++ 94.01% Makefile 5.45% Batchfile 0.54%

autoparamdriver's Introduction

autoparamDriver

autoparamDriver is an EPICS module that facilitates writing a generic device driver based on asyn that does not know ahead of time which (or how many) parameters the device supports, delegating the job of defining them to the EPICS database. If you've ever used EPICS modules like modbus or s7plc, you already know what this is about. In any case, check out the documentation to learn what autoparamDriver can do for you.

Note: When learning how to use autoparamDriver, please do not try to learn from the autoparamTestApp included with the driver. As its name says, it is used for testing and is not a good resource. Please refer to the Tutorial section of the documentation instead.

Installation

Familiarity with installation of EPICS modules is assumed.

Dependencies:

  • EPICS base, tested with version 7.0.5
  • asyn, tested with version R4-41

Dependencies for building documentation:

To install:

  • configure the configuration/RELEASE file, pointing the EPICS_BASE and ASYN variables to the locations where EPICS base and asyn are installed (this is more efficiently done by placing a RELEASE.local file a level above the autoparamDriver directory);
  • configure any other build settings as needed for your EPICS environment (if you don't know what this means, it's probably not needed);
  • run make.

To use from another module:

  • configure the configuration/RELEASE file of the depending module, setting the EPICS_BASE, ASYN and AUTOPARAM variables to the locations where the respective modules are installed;
  • update yourIocApp/src/Makefile adding
    • yourIoc_DBD += asyn.dbd
    • yourIoc_LIBS += autoparamDriver
    • yourIoc_LIBS += asyn
  • follow the tutorial in the documentation.

To build documentation:

  • install doxygen, breathe, sphinx and sphinx_rtd_theme;
  • run make docs;
  • find the documentation at docs/build/html/index.html.

License

Copyright 2022 Cosylab d.d. https://www.cosylab.com

Provided under the terms of the MIT license.

Files that are trivial, generated by the EPICS build system, or otherwise considered to contain little creative expression, are provided under the terms of the MIT-0 license.

See the LICENSES/ directory and headers of individual files for more information. This package is REUSE compliant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.