Alien LiveChart or Gage

Forum Home Forums New Ideas Alien LiveChart or Gage

This topic contains 14 replies, has 4 voices, and was last updated by Mikhail Mikhail 10 months, 1 week ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #2190

    trauden
    Participant

    Hi members
    How to get data from RAPID SCADA (for example Communication channel) to alien LiveChat or Gage (http://justgage.com/). I mean that there are API commands of RAPID SCADA?!

    #2194
    Mikhail
    Mikhail
    Moderator

    Hi,

    Find the API here. The descriptions of the methods are included in this file as comments.

    #2195
    Mikhail
    Mikhail
    Moderator

    The example of using the API.

    #2228

    trauden
    Participant

    For example: I can get data from tag having parameter: Input channel: 101; Name: OPCSimChannel1; Channel Type: Real; Object: Enterp rise; Device: OPCDemo; Signal:1;
    for external purpose (display in JustGage ((http://justgage.com/).).
    I can do it?
    Please help me Mikhail!

    #2231
    Mikhail
    Mikhail
    Moderator

    Yes, you can do it using JavaScript:

    scada.clientAPI.getCurCnlDataExt(cnlFilter, function (success, cnlDataExtArr) {
            if (success) {
            // your code here
            }
        });
    

    Please ask more specific questions.
    If you’d like, we can create a simple application together as a part of training.

    #2927

    kumajaya
    Participant

    The dashboard more resource hungry than Rapid SCADA but works 😀

    #2928
    Mikhail
    Mikhail
    Moderator

    Thanks. I hope it will be possible out of the box in the future.

    #2932

    kumajaya
    Participant

    Will be great! Can we embed Freeboard inside Rapid SCADA current dashboard?

    #2935
    Mikhail
    Mikhail
    Moderator

    I think it should be a native Rapid SCADA module instead of external commercial software.

    #2952

    kumajaya
    Participant

    KpMQTT + Emqtt + Telegraf + InfluxDB + Grafana:
    Will be great if Grafana can access Rapid SCADA database directly.

    #2954
    Mikhail
    Mikhail
    Moderator

    It’s possible to create an integration module as custom development by a contract.

    #3695

    OssamaHelmy
    Participant

    Dear Mikhail i am sorry to open an old one but i tried the code and have err.

    could i have your help !!

    scada.clientAPI.getCurCnlDataExt(cnlFilter, function (success, cnlDataExtArr) {
    if (success) {
    // your code here
    }
    });

    • This reply was modified 10 months, 2 weeks ago by  OssamaHelmy. Reason: forget insert code
    #3705
    Mikhail
    Mikhail
    Moderator

    You should provide more info about the error. Use debugger tool of Chrome to get error messages.

    #3710

    OssamaHelmy
    Participant

    this is my debugger tool of Chrome
    i don’t define cnlFilter for CnlNums=101 & viewIDS=2
    or viewid=2

    clientapi.js:191 Uncaught TypeError: cnlFilter.toQueryString is not a function
    at Object.getCurCnlDataExt (clientapi.js:191)
    at gauges.aspx:51
    getCurCnlDataExt @ clientapi.js:191
    (anonymous) @ gauges.aspx:51.

    thanks for your reply.

    #3713
    Mikhail
    Mikhail
    Moderator

    Yes, you have to create cnlFilter object before executing getCurCnlDataExt. Could you create a new topic for your issue, because this is “New ideas” subforum?
    Example is here.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.