Additional calculation triggering

Forum Home Forums Understanding the Software Using Formulas Additional calculation triggering

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8465
    Artos9
    Participant

    Hello,
    My system requests to write archival data to ArchiveDAT files.
    Writing of pure data works correctly based on “Integration with Rapid SCADA” article.

    I haven’t idea how to run channels, which are calculated by formulas and finally write calculated data.

    Could you release short part of code how to execute calculations or write some tips?

    Thanks you so much.

    #8467
    JW
    Participant

    ArchiveDAT .dat files only stores the final value.
    You will need to calculate the value on your program, then write the value to the file.

    I usually write a script to convert my legacy data from other system to a excel with 2 sheets, (x axis for cnl no., y axis for datetime), 1 table for value, 1 table for stat. Then I write formulas in excel to calculate the data, and modify data manually if needed.

    Then run another program to convert excel to scada .dat file.

    #8472
    Mikhail
    Moderator

    Hello,

    Formulas are applied automatically by the Server service when you write data using TCP.

    #8484
    Artos9
    Participant

    Hello,
    So if I use function “SendArchive” and send value 10 on channel 101.
    Channel 102 is calculated real and use formulas (Val(101) * 2).

    Channel 102 will be changed after using function?

    Thank you.

    #8485
    Artos9
    Participant

    I can answer for myself. I tested it and …
    It works!

    Very good SCADA system!!!
    Thank you!

    #8491
    Mikhail
    Moderator

    🙂

    #13040
    mm
    Participant

    How is the Archive .dat file decrypted on V6? I managed to decrypt the V5 but not V6. Is there a source code available?

    #13045
    Mikhail
    Moderator

    You can find file formats here. The source code also available. If you need getting data directly from archives, I suggest using PostgreSQL or InfluxDB archives.

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