Git Product home page Git Product logo

scadavis's Introduction

SCADAvis.io Logo

HTML5 Synoptic Graphics Toolkit. SCADA-like realtime visualization tools for the web.

Mission Statement

To provide a powerful toolkit for the producing of SCADA-like SVG displays for modern web browser platforms.

Major features

  • Pure HTML5/Javascript/SVG runtime.
  • Use a custom Inkscape SVG Editor to create displays.
  • Link tagged realtime data to SVG animations at runtime.
  • Mobile friendly, framework agnostic.
  • No special server requirements needed.

Example Javascript code

scadavis({
    container: "div1",
    iframeparams: 'frameborder="0" height="490" width="555"',
    svgurl: "https://raw.githubusercontent.com/riclolsen/displayfiles/master/office.svg"
}).then( function (sv) {
    setInterval(function () {
        sv.storeValue("TAG1", Math.random() * 100);
        sv.storeValue("TAG2", 100 + Math.random() * 80);
        sv.storeValue("TAG3", 120 + Math.random() * 60);
        sv.storeValue("TAG4", 150 + Math.random() * 60);
        sv.storeValue("TAG5", 110 + Math.random() * 30);
        sv.storeValue("TAG6", 200 + Math.random() * 100);
        sv.storeValue("TAG7", 130 + Math.random() * 40);
        sv.updateValues();
    }, 2500);
    sv.zoomTo(0.65);  
})

Substation Simulation Example

https://codepen.io/ricardolo/pen/MWXmPpB

scadavis's People

Contributors

riclolsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

scadavis's Issues

No Tags in SVG

Hi, I just tried the first demo on the Leran-Page of the Homepage (with the donut.svg) and added the line to print in the browser console the taglsit of the svg. Unfortunately it always prints "undefined" and not "TAG1" as it should, if I understand it right. Any help?

How to know how many tag in a SVG file

From the example scadavis change the value of the TAG like sv.storeValue("TAG2", 100 + Math.random() * 80);.

But, How do I know the SVG file has TAG?

mouse double-click events

At present, the Synopsicapi only supports mouse click events. How to add mouse double-click events?

Using SCADAvis without internet

On the Substation sample example the SCADAvis API is called from the github website (meaning it can only be used while connected to the internet) is there a way to store the code somewhere that can be accessed offline?

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.