Giter VIP home page Giter VIP logo

Comments (6)

DisplayMonkey avatar DisplayMonkey commented on May 26, 2024

Not sure we fully understand your scenario. The description for display default frame ready interval under application settings reads:

"Certain types of frames require additional initialization before they complete their rendering process on a display. They may either show blank or feature a loading indicator. DMP application will wait the above time period and, when exceeded, will leave the frame unrendered. This is a default which can be overridden on individual displays. "

Please note that frame ready timeout setting is not used to delay nor enforce loading of any frames. It merely is a timeout counted towards abandoning further frame rendition on the screen if no necessary frame data has arrived within a given time window. The frame is loaded regardless whether the timeout has been reached or not, although it may look different or incomplete, that's all.

Does this answer your question?

from displaymonkey.

rameshkumar-arumugam avatar rameshkumar-arumugam commented on May 26, 2024

Hi Guys,

I could understand the use case of "Frame ready timeout". In my case, I have created a display with multiple dashboards. Each dashboard takes a time to load the content. When I view the display I'm getting loading indication on the dashboard. So I need to remove this waiting time on display content.

If we preloaded the display content before it renders then we eliminate the waiting time. Is there any option like that?

Regards,
Rameshkumar Arumugam.

from displaymonkey.

DisplayMonkey avatar DisplayMonkey commented on May 26, 2024

Using DM terminology, we will assume that by "multiple dashboards" above you refer to DM panels, as displays can only link one canvas at a time.

Every frame in DMP goes thru several phases, some of which are optional depending on state of the canvas: pre-load, initialization, tear-down (uninit).

During the first phase, DMP preloads frame metadata into a panel in the background, while the previous frame (if any) is still showing. This request is an Ajax call, which, unfortunately, in Prototype 1.7 offers no timeout option. This by itself is an issue, which we are looking forward to address in a long term by migrating DMP from Prototype framework to AngularJS.

The "frame ready" timeout is only used during frame initialization phase, that is after the frame has finished pre-loading, in order to allow frame-specific data arrive asynchronously. We can see your desire to prepare frame entirely (both phases) in the background. However, frames do have discrete nature and this dual-phase design approach addresses the panel vs. frame paradigm, in which panels own and handle loading generic frame metadata, and frames independently render themselves.

Frame tear-down phase takes place after frame duration interval expires. The frame duration interval countdown coincides with the beginning of the first phase.

Hope you will find this information useful.

from displaymonkey.

DisplayMonkey avatar DisplayMonkey commented on May 26, 2024

the OP has not responded, by design, closed

from displaymonkey.

MahendranMadasami avatar MahendranMadasami commented on May 26, 2024

@DisplayMonkey I am also looking for the same feature, Do have any implementation plan for this?

from displaymonkey.

DisplayMonkey avatar DisplayMonkey commented on May 26, 2024

Hi, currently there is no plan for this. The original request was not clear, we have closed it as we received no response from the OP. Thanks.

from displaymonkey.

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.