Export data to XML

Forum Home Forums Understanding the Software Export data to XML

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #12203
    feltduck
    Participant

    Hi,
    How can I export the data to XML? I want to have all the data that provides the scada on my pc.

    #12224
    Mikhail
    Moderator

    Hi,
    To export historical data from Rapid SCADA to XML, a converter application should be developed. Another method is export PostgreSQL archive as written here.

    #12226
    feltduck
    Participant

    Ok, thank you. And how can I export the data to a db every 15 minutes?

    #12228
    Mikhail
    Moderator

    In Administrator:
    – Open Server – Archives
    – Activate the MinCopy archive and configure its options
    – Install PostgreSQL and create a database rapid_scada with user postgres and password postgres. You can change password in Config\ScadaInstanceConfig.xml
    – Upload the project to run

    #12230
    feltduck
    Participant

    Thanks, and is it possible do it with mysql?

    #12235
    Mikhail
    Moderator

    To export data to MySQL, use the Export DB module, located in Server – Modules.
    I don’t know if MySQL supports XML functions like Postgres.

    #12251
    feltduck
    Participant

    Thank you. And my last question is how can I configure the data that I want to store?
    By default the SCADA is storing channel number, timesamp, value and status and I want to store the code and name too.

    #12256
    Mikhail
    Moderator

    You should create your own stored procedures that fill code and name and use them in the Export to DB module. However, it is not optimal.
    In case of using PostgreSQL, you can upload the project to the database, so you can find channel code and name by its ID.

    #12257
    Mikhail
    Moderator

    PostgreSQL is the main DBMS for Rapid SCADA. Therefore, there are special features for this database.

    #12258
    Mikhail
    Moderator

    And my last question

    Ask as many questions as needed.

    #12272
    feltduck
    Participant

    Hi,
    I’m using PostgreSQL and I’m having the same problem. I don’t know how to configure the data that I want to store. As i said before, by default is storing all the channel numbers, timestamp, values and status. I would like to choose the channels, and create some new rows.

    #12273
    Mikhail
    Moderator

    Hi,
    If you use PostgreSQL archive that is configured on Server – Archives form in the Administrator app, database tables are created automatically. You can define archive mask for channels to store only required channels. To get channel properties and other entities in the database, configure a deployment profile based on PostgreSQL, and upload the configuration database to PostgreSQL.

    If you need to use your own database model, you should choose Export to DB module with the supported database (PostgreSQL, MySQL, MSSQL or Oracle). The available variables are specified on the module configuration form.

    #12274
    Mikhail
    Moderator
    #12281
    feltduck
    Participant

    Hi,
    I’m having an issue when I try to connect to a PostgreSQL remote server.
    Do i have to modify Config\ScadaInstanceConfig.xml with my configuration?

    #12283
    Mikhail
    Moderator

    Hi,
    It depends on the error.

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