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-04-26 03:08 PM
Hi there,
In my Geo SCADA 2020 system, I have created 3 different databases as shown in the attachment. In my script, when I wrote a SQL query to query the table by using some codes like 'Set qryResult = Server.Query("SELECT * from CDBOBJECT")'. However, since I got 3 different servers running behind, are there any server property field that I can add to my codes to specify which servers I want to query such as the server port number?
Thank you for the help.
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: 2025-02-17 08:32 PM
This is all based on your System Configuration (Client Configure Connections), and what Node Cost you have assigned to which Server. The lowest available server will win..
If you're creating a new Automation Interface / .NET API connection, then you can determine yourself which servers to connect to (or which to include in the system). But if doing things within ViewX scripting it would not be advised to do this. The Client Configure Connection setup is what you should use. Even when creating apps etc which use the .NET API I still use the Client Configure Connection setup.
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: 2025-02-18 04:50 PM . Last Modified: 2025-02-18 04:50 PM
You could do a seperate query "SELECT NODENAME FROM CROOTGROUP", that will report which server you're connected to (that setting should be from the server you're connected to, not synced from the Main)
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.