Creating Relevant Animations

Forum Home Forums Understanding the Software Creating Relevant Animations

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #13642
    DHague
    Participant

    Hello,

    I am trying to create an animation to display the current state of a machine. My initial thought was to use a dynamic picture and attach a counter variable to it and go through the frames individually. This creates an animation that is relevant to the current state of the machine, but has extremely low performance (web page took almost 2 minuets to load). My next thought was to use a frame (from extra scheme components) to embed a basic HTML page with the animation in it. However, this makes it very difficult to make the animation meaningful.

    We have two potential methods of getting the machine state information to the animation: Directly through MODBUS and through our MySQL server.

    I tried to create a dynamic picture style animation in html t get the best of both world, but it turns out I’m not good enough at JS to do that. Any tips would be greatly appreciated.

    Thanks.

    #13643
    manjey73
    Participant

    Can use animated PNG in dynamic pictures ?

    #13644
    Mikhail
    Moderator

    Hello,
    Please provide screenshots of your solution that help to understand the needs.

    #13648
    DHague
    Participant

    While an animated PNG in the dynamic picture may work, I’m not aware of any way to pass the required state information to it to make it meaningful.

    Link to screenshot:
    FlippingTableHomeScreen

    #13649
    DHague
    Participant

    Currently the animation is a video hosted on a NGINX server that I spun up and is embedded in a frame.

    #13656
    Mikhail
    Moderator

    Thank you for the screenshot.
    Probably creating an animated GIF and using it in a dynamic picture component would be an efficient solution.

    #13660
    DHague
    Participant

    An animated GIF solves the performance issue, but how do I sync that GIF to the current state of the machine? For example, if the operator pauses the operation how do I make the GIF stop and how do I resume it when the operator resumes operation?

    #13670
    Mikhail
    Moderator

    If you create several animated or not animated GIFs, you could switch them using Dynamic Picture component.

    #13675
    DHague
    Participant

    I could, but would that not be somewhat a bit of the worst of both worlds? If the machine is paused during an animated GIF that part of the animation would loop, and since I would have several parts the performance would suffer. Are non-animated GIFs lighter on upload? Since I have 165 frames I have to deal with I think the performance issues stem from the uploaded scheme files being over 100mb.

    #13691
    Mikhail
    Moderator

    For example this GIF is about 1 MB. I expect that your file should not be as large as 100 MB.

    #13692
    Mikhail
    Moderator

    GIF images are compressed, so they usually not heavy.

    #13706
    chika
    Participant

    Hello Mr. Mikhail

    can i make a button to move the page in scheme view? how to make it?
    Thanks

    #13709
    Mikhail
    Moderator

    Hello,
    Please explain what is moving the page?

    #13710
    chika
    Participant

    For example, I create 2 pages on the scheme (page1.sch & page2.sch)
    then on page 1 I created a button which when pressed will move the display to page2.sch

    and i have any question,can the scheme create a pie chart?
    Thank you

    #13713
    Mikhail
    Moderator

    on page 1 I created a button which when pressed will move the display to page2.sch

    It’s possible with a Link component.

    can the scheme create a pie chart?

    Integrate Rapid SCADA and Grafana for this purpose.

    For more details, please create new topics, because this topic is about animation.

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.