Forum Home › Forums › Development and Integration › Export to Database Module
- This topic has 24 replies, 3 voices, and was last updated 6 years, 4 months ago by
Mikhail.
-
AuthorPosts
-
July 11, 2018 at 12:03 pm #3981
t_bidaud
ParticipantHello,
I work on Arduino module and I would like to export the Cnlnum ; Stat & Val on a database.
I would like to connect the current.dat to my oracle database with the Export database Module.
I try to connect with Modules_ModBDExport.dll. But I don’t understand where I use the connection string and when I use the sql queries.
Thank you for your help.Theofane Bidaud
July 11, 2018 at 1:41 pm #3982
MikhailModeratorHi,
You should create a new database connection in the module properties form and paste SQL requests for this connection.
What is the particular question?July 11, 2018 at 1:59 pm #3983t_bidaud
ParticipantI don’t understand where I connect the database in SCADA Serveur _ Modules _ ModBDExport.dll _ Connection.
And when I write the SQL code in documentation.July 12, 2018 at 3:40 pm #3992
MikhailModerator1. Go to the Modules page
2. Click the Add (+) button
3. Add ModDBExport.dll and apply the settings.
4. Select the module and click the Properties button.July 13, 2018 at 7:22 am #3995t_bidaud
ParticipantI chose Oracle in Add data source
In connection I have :
Serveur localhost
Database test_bdd.sql
User t_bidaud
BDD123
Connexion String
Server=localhost/test_bdd.sql;UserID=t_bidaud;Password=BDD123And in Current Data I check Export and I put in SQL window the SQL code in documentation.
But I have any new line in my Oracle database after.
July 13, 2018 at 1:31 pm #3997
MikhailModeratorYou should provide screenshots of the module settings and log of the export module.
July 16, 2018 at 1:09 pm #4002t_bidaud
ParticipantHi,
I send you an email with screenshots
July 17, 2018 at 7:27 am #4003t_bidaud
ParticipantHi,
This is the screenshot:

July 17, 2018 at 2:01 pm #4004
MikhailModeratorHi,
In the Current Data tab you need to enter INSERT request only. Other SQL scripts are needed for creating the database.July 19, 2018 at 3:17 pm #4031t_bidaud
ParticipantHi,
Ok i did it, I put the insert command in current, archive & event.
I create a data base with the other command.
But when I try SELECT * FROM clndata; I have nothing.
I forced to use mysql.
Thank you for your helpingJuly 20, 2018 at 11:42 am #4039
MikhailModeratorHi,
You should check the log file of the module to find the cause.
MySQL is owned by Oracle Corporation ))July 20, 2018 at 4:01 pm #4043t_bidaud
ParticipantHi,
I able to tranfert data with the generator.
But I can’t sent automatically data from server
July 21, 2018 at 10:52 am #4044
MikhailModeratorHi,
You should describe in details what you did, what you get and what you expect.July 23, 2018 at 7:32 am #4045t_bidaud
ParticipantHi,
I have configured the connection with my data base




I want to upload in my data base the current dta from the scada server.
When I use the generator I recieve just one data

I want to recieve data/min.
Thank you for your helpingJuly 23, 2018 at 10:53 am #4054
MikhailModeratorHi,
Thank you for the screenshots.
Do the data are successfully stored in your database when you use Generator? -
AuthorPosts
- You must be logged in to reply to this topic.