Database MySQL usage

Forum Home Forums Development and Integration Database MySQL usage

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7518
    Artos9
    Participant

    Hello,
    I would like to ask about MySQL DB cooperation with Rapid SCADA.
    I implemented communication and works OK, but Rapid SCADA pulls only first record of database.
    Please explain how finally it should works.
    My database collect data from system monthly, and better situation is when data will be pull as the last record.

    #7521
    Mikhail
    Moderator

    Hello,
    You should check log files of the export module
    C:\SCADA\ScadaServer\Log\ModDBExport.log
    C:\SCADA\ScadaServer\Log\ModDBExport.txt

    Are there any errors?

    Please explain how finally it should works.

    When new data is read from a controller, it should be written to the DB.

    #7522
    Mikhail
    Moderator

    My database collect data from system monthly, and better situation is when data will be pull as the last record.

    You can change the SQL scripts in the module settings according to the requirements.

    #7526
    Artos9
    Participant

    Hi,
    I don’t have these files.
    Only exists:
    ScadaServerSvc.log
    ScadaServerSvc.txt

    In these files no errors are presented.

    • This reply was modified 3 years, 5 months ago by Artos9.
    #7527
    Artos9
    Participant


    You can change the SQL scripts in the module settings according to the requirements.

    Could you write more information’s?

    #7534
    Mikhail
    Moderator

    Please make screenshots of your settings.

    #7546
    Artos9
    Participant

    Hi, I correct SQL request from SELECT * FROM Table to SELECT * FROM Table ORDER BY ID DESC LIMIT 1. Now is such better.

    Thank you.

    #7680
    Artos9
    Participant

    Hello,
    I would like to ask about Database data size import. I have seen that max size on text format is 8 char’s. Is something wrong with my settings?

    Thank you.

    https://imgur.com/9nlHqUk

    #7685
    Mikhail
    Moderator

    Hello,
    An input channel can store only 8 Latin characters, because channel value size is 8 bytes. SCADA mostly works with numbers than strings.

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