Coder Social home page Coder Social logo

e3-autosave's Introduction

e3-autosave

Autosave settings

We try to enclose most possible autosave configuration within autosave.iocsh.

Preparation of DB

Each record in database file that needs to have values saved by autosave must have the one of following info tags. Such as

 info(autosaveFields, "PREC SCAN DESC OUT")
 info(autosaveFields_pass0, "VAL")
 info(autosaveFields_pass1, "VAL")

Each info tag should be matched with what one would like to use such as

  • autosaveFields : before and after record initialization

    • settings.sav : in $(AS_TOP)/$(IOCNAME)/save
    • settings.req : in $(AS_TOP)/$(IOCNAME)/req
  • autosaveFields_pass0 : before record initialization

    • values_pass0.sav : in $(AS_TOP)/$(IOCNAME)/save
    • values_pass0.req : in $(AS_TOP)/$(IOCNAME)/req
  • autosaveFields_pass1: after record initialization (Most autosave values can be restored at Pass 0 and Pass 1 using the autosaveFields info tag.)

    • values_pass1.sav : in $(AS_TOP)/$(IOCNAME)/save
    • values_pass1.req : in $(AS_TOP)/$(IOCNAME)/req

Please look at the example in Autosave DB example.

How to enable it within e3

require autosave,5.9.0

epicsEnvSet("TOP", "$(E3_CMD_TOP)/..")
epicsEnvSet("IOCNAME", "as_test")

iocshLoad("$(autosave_DIR)/autosave.iocsh", "AS_TOP=$(TOP),IOCNAME=$(IOCNAME)")

e3-autosave's People

Contributors

jeonghanlee avatar

Watchers

 avatar

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.