Giter Site home page Giter Site logo

Question about alarms about pvapy HOT 4 CLOSED

epics-base avatar epics-base commented on August 16, 2024
Question about alarms

from pvapy.

Comments (4)

sveseli avatar sveseli commented on August 16, 2024

PvaPy can process record on write using on write callback. Hence, if you wanted to do this using pvapy, you can (see https://epics.anl.gov/extensions/pvaPy/production/pvaccess.html#pvaserver). As far as I know, the underlying PV Database records are not doing any processing automatically at the moment.

from pvapy.

mrkraimer avatar mrkraimer commented on August 16, 2024

I will start adding support for control and valueAlarm in PVRecord.
There is a method PVRecord::process that already has support for updating the timeStamp.
I will let it also implement control and valueAlarm if those fields exist at top level of record.

from pvapy.

douglasbeniz avatar douglasbeniz commented on August 16, 2024

PvaPy can process record on write using on write callback. Hence, if you wanted to do this using pvapy, you can (see https://epics.anl.gov/extensions/pvaPy/production/pvaccess.html#pvaserver). As far as I know, the underlying PV Database records are not doing any processing automatically at the moment.

Hey, Sinisa, thank you for your answer! To be honest, I expected something like that, I mean, we need to implement the behaviour when a PV value reaches such limits. I think we can use PvaServer by now...

I was studying channel monitors that seem to be an option already available, too.

from pvapy.

douglasbeniz avatar douglasbeniz commented on August 16, 2024

I will start adding support for control and valueAlarm in PVRecord.
There is a method PVRecord::process that already has support for updating the timeStamp.
I will let it also implement control and valueAlarm if those fields exist at top level of record.

That would be awesome, Marty! Thank you. I'll follow the next updates, so...

from pvapy.

Related Issues (20)

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.