Additional calculation triggering

Forum Home Forums Understanding the Software Using Formulas Additional calculation triggering

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8465
    AvatarArtos9
    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
    Avatar123abc56
    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
    MikhailMikhail
    Moderator

    Hello,

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

    #8484
    AvatarArtos9
    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
    AvatarArtos9
    Participant

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

    Very good SCADA system!!!
    Thank you!

    #8491
    MikhailMikhail
    Moderator

    🙂

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