Giter Site home page Giter Site logo

default sample time is too fast? about ads-ioc HOT 3 OPEN

pcdshub avatar pcdshub commented on July 4, 2024
default sample time is too fast?

from ads-ioc.

Comments (3)

ZLLentz avatar ZLLentz commented on July 4, 2024 1

Thanks for posting this Raj, it's one of those things that is "known" vaguely but never got properly documented. This is a consequence of us having crazy numbers of PVs in our IOCs. I suspect we want to be smarter about the sample time we choose in these "many PVs" cases rather than always bumping to 1Hz.

from ads-ioc.

rajanplumley avatar rajanplumley commented on July 4, 2024

Ok cool. Is there any way to know or test if the sample time is too small, so it can step it up until it reaches a minimally satisfactory sample time?

from ads-ioc.

ZLLentz avatar ZLLentz commented on July 4, 2024

The IOC can tell if the current sampling time is "too fast" by seeing if it has enough time to process all the PVs before the next scheduled update. I do not know if it is possible to continually change the parameter and optimize it, or if it needs to be set once at the start of the program as the module is currently written.

The consequence of not increasing the sampling time from 50ms is that you'll get your PVs back at arbitrary intervals, e.g. it will go "as fast as it can" and finish whenever it does. Having the sampling time too low can also theoretically impact PLC performance, but I'm not sure if this is a leading-order concern compared to the IOC process getting overloaded.

from ads-ioc.

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.