Forum Home › Forums › Understanding the Software › Error at Exporting Data Manually with ModDBExport
Tagged: database export module, databases, MySQL
- This topic has 15 replies, 2 voices, and was last updated 9 months, 2 weeks ago by
paulinapau.
-
AuthorPosts
-
September 6, 2024 at 7:48 am #15311
paulinapau
ParticipantHi! So, I’ve been using my company’s client computer, which is integrated with Rapid SCADA. I want to export current and historical data using MySQL in PHPMyAdmin. There’s already a connection before, but I want to add a new connection using a database that running on the company’s client computer. I’m following the documentation for ModDBExport (https://rapidscada.net/doc/content/latest/en/modules/mod-db-export.html) but sadly, I keep coming back to the same error. I’m trying two databases. The first database uses the same syntax as documentation, but the second one uses the latest syntax (https://github.com/RapidScada/scada-v6/blob/master/ScadaServer/OpenModules/ModDbExport.Logic/Scripts/export_mysql.sql). Both have the same output, which is unhandled exception like this one. How can I resolve it?
https://drive.google.com/file/d/1xyc9ccoNs3E8ozEIhrB2-NNyI4T4Id7X/view?usp=drive_link
September 6, 2024 at 10:05 am #15316Mikhail
ModeratorHi,
Probably, the output channel 1 does not exist. You should add it before sending a command.
Rapid SCADA of version 5 is outdated. I recommend to upgrade the software and project to version 6.
September 6, 2024 at 10:08 am #15317September 6, 2024 at 10:16 am #15318Mikhail
ModeratorNote that the export of current data feature was deprecated in the future versions of the module.
September 10, 2024 at 6:39 am #15358paulinapau
ParticipantI couldn’t change the rapid SCADA version I have now. So, I tried the exact channels available on rapid SCADA. But it still gives the same error as before. And yes, I already using the syntax in the article you gave me.
https://drive.google.com/drive/folders/1hpNNsM6xKIXFO2WhffcOnsR4R4ChhLLX?usp=sharing
I’m trying the input and output channels. By the way, I need to export the input one. Is it still possible?
September 10, 2024 at 9:49 am #15363Mikhail
ModeratorThe channels specified in Manual Export window should be created in the Output channels table. Those channels are used to send a command from the module to the Server app.
September 11, 2024 at 2:31 am #15377paulinapau
ParticipantI’m sorry, I don’t get it. Do you mean the Output channels table in the Administrator?
September 11, 2024 at 9:05 am #15387Mikhail
ModeratorYes.
September 12, 2024 at 1:57 am #15401paulinapau
ParticipantBefore I tested it, where I only put the output channel as the channel in the manual export channel. But it’s still get the same error… Could you describe what should I do to get the export success (except changing the Rapid SCADA version)?
here’s the channel output
https://drive.google.com/file/d/1pLOGQL2zLvI1YGpdy9lH25C6gB8p6yOi/view?usp=drive_linkhere’s the modules error
https://drive.google.com/file/d/1WlS4bDAUHcre0822DDx-7knYMTYwFMvN/view?usp=drive_linkSeptember 12, 2024 at 9:50 am #15433Mikhail
ModeratorIn the screenshots, the number of the output channel is 201 while in the configuration form 631 is specified, which is wrong. It should be 201.
September 12, 2024 at 9:51 am #15434Mikhail
ModeratorCommand type of the output channel should be binary.
September 12, 2024 at 9:52 am #15435Mikhail
ModeratorThe proper way is upgrading Rapid SCADA to the version 6 and after that solve export questions.
September 13, 2024 at 3:38 am #15442paulinapau
ParticipantWait, sorry! I put the wrong screenshot, oh my… here’s the correct one!
September 13, 2024 at 3:40 am #15443paulinapau
ParticipantI think this is the final solution, isn’t it? Okay then… But, is it possible for me to use a cloud server instead?
September 13, 2024 at 9:23 am #15450Mikhail
ModeratorIt’s possible to send a command via the Administrator app, but I can’t find information about the required command format, because that version of the driver is too old and outdated.
is it possible for me to use a cloud server instead?
Rapid SCADA works well on a cloud server.
Note. Recently Rapid 5 was removed from the download page. Use the 6th version which is more secure.
-
AuthorPosts
- You must be logged in to reply to this topic.