EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-24 12:18 PM
Hello,
I'm interested in communicating with our SCADA system over python for making some real-time analytics/dashboards etc. Current SCADA access is over VirtualView X on internet. We have no direct access to the server itself, as it is all done using a SCADA vendor who handles metering and comms for us. I have some experience with APIs and have been trying to follow the example code, but been running into problems. Just wanted to verify that what I'm trying to do is possible without having our vendor make any changes on their system.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-25 01:44 AM . Last Modified: 2023-05-25 01:47 AM
hi @fenivan
for data retrival and analytics you can use odbc to connect to scada system and conduct query using odbccommand
ALSO see this https://community.se.com/t5/EcoStruxure-Geo-SCADA-Expert/how-to-connect-to-geoscada-database-from-py...
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-25 09:08 AM . Last Modified: 2023-05-26 10:51 AM
If your only access is through Virtual ViewX then you cannot access the database server directly from a application that you create.
You will need to access to the Database server. If the SCADA vendor will allow it it will probably be over a VPN connection limited to the necessary TCP ports. You'll need to install the Connections part of the Geo SCADA install for the ODBC connection. Then set up the connection in the Configure Connection App and then setup the Windows ODBC Data source.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-26 01:59 PM
Also check out the ability to use Python to access the client API, see:
https://github.com/GeoSCADA/Utilities-and-Examples/tree/main/PythonSamples
Same as above applied - Data Access Components are required on your client.
(Installed with ViewX by default).
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.