Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

.Net API, Automation Interface and Web Interfaces (SOAP and XML)

Geo SCADA Knowledge Base

Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Geo SCADA Knowledge Base
  • .Net API, Automation Interface and Web Interfaces (SOAP and XML)
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Labels
Top Labels
  • Alphabetical
  • database 32
  • Web Server and Client 31
  • WebX 19
  • Request Form 18
  • Lists, Events & Alarms 16
  • ViewX 15
  • Application Programming 12
  • Setup 12
  • Telemetry 8
  • Events & Alarms 7
  • Lists 7
  • Mimic Graphics 7
  • Downloads 6
  • Support 5
  • IoT 5
  • SCADA 5
  • Geo SCADA Expert 5
  • Drivers and Communications 4
  • Security 4
  • DNP 3 3
  • IEC 61131-3 Logic 3
  • Trends and Historian 2
  • Virtual ViewX 2
  • Geo Scada 1
  • ClearSCADA 1
  • Templates and Instances 1
  • Releases 1
  • Maps and GIS 1
  • Mobile 1
  • Architectures 1
  • Tools & Resources 1
  • Privacy Policy 1
  • OPC-UA 1
  • Previous
  • 1 of 4
  • Next
Latest Blog Posts
  • OPC UA - Driver and Server
  • Requirements for Generating a Valid OPC UA Server Certificate
  • Load Events Using LoadRecord and LoadRecords
  • Geo SCADA Embedded Component Licenses
  • Geo SCADA 2023 Known Issues
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Anonymous user
Not applicable
‎2021-06-09 07:17 PM
1 Like
0
5612
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-06-09 07:17 PM

.Net API, Automation Interface and Web Interfaces (SOAP and XML)

Originally published on Geo SCADA Knowledge Base by Anonymous user | June 10, 2021 04:17 AM

📖 Home  
In many applications there is a need to interface ClearSCADA to external programs. Geo SCADA supports a range of application program interfaces (APIs) that can be accessed from various programming languages including C#, VB, C/C++ and Python. These include:

  • .Net Client API
  • Automation Interface
  • ODBC
  • XML/SOAP
  • OPC

.Net Client API (Preferred)


Increasingly external programs are written using Microsoft's managed code environment. A .Net API is available for many advanced functions. (However the existing COM based API is also available to use from a managed code environment.)

The .Net API is used to connect to the server to perform monitoring, control or configuration of the Geo SCADA database. You can use any .Net Framework compatible languages, such as VB.Net or C#. You can also use Python via the library 'Pythonnet'.

 

.Net Client API Documentation:

If you look in the Start Menu folder for Geo SCADA, you will notice a "Client API Guide" shortcut.

 

Annotation 2022-03-10 141527.jpg

 

This link will take you to the documentation for the automation interface. You should start in the ClearScada.Client.Simple Namespace.

 

The important classes to use are "Connection" and "DBObject". Note that you will need to reference the database schema. You should browse your own database for schema specifics such as your driver and metadata field settings - find it at the web services port of Geo SCADA, e.g. http://localhost/schema

 

For a simple example where C# code sets and reads a point value, go to: https://github.com/GeoSCADA/Utilities-and-Examples/tree/main/SetInternalPoint 

 

For a similar example using Python and the Windows Pythonnet library, go to: https://github.com/GeoSCADA/Utilities-and-Examples/blob/main/PythonSamples/Geo%20SCADA%20Samples.py 

 

 

Automation Interface (COM)

There are two COM interfaces.

Server Automation

Server Automation is a programming interface intended to allow external programs to interface to Geo SCADA. You can use the interface from a number of different programming languages to:

  • Programmatically create new objects, modify existing objects, or even delete objects in a Geo SCADA database. This might be used to create a custom import tool, or create content in the Geo SCADA database based on a set of rules.
  • Programmatically query the objects in a Geo SCADA database. This might be useful in creating custom reports or an export tool.

Server Automation uses the Common Object Model (COM) to export ActiveX Objects to external scripting or programming languages.

Documentation:

Documentation for this interface is in the class definitions - viewable from Visual Studio's object browser.

See examples linked below.

 

Client Automation

Client (ViewX) Automation enables programs to interact with ViewX and its documents. For example, mimics can be opened and edited.

 

Note: Client side automation is disabled by default for new installations of Geo SCADA 2022 (85) onward for improved security. It can be enabled from the "System Configuration \ ViewX" page in the Server Configuration tool.

Documentation:

Documentation for this interface is in the class definitions - viewable from Visual Studio's object browser.

See examples linked below.

 

Web Interfaces


Geo SCADA also presents information through SOAP and XML via the Web Interface, with some additional information as REST queries. Services using the EWS (EcoStruxure Web Services) and OPC-XML-DA protocols are available too. This is used by the Geo SCADA Web Client to communicate to the Geo SCADA Server. These interfaces are also open for use by third party applications.

Documentation:

These interfaces are not documented and may not be stable between Geo SCADA releases.



Home

More Links:

Introductions to the Server and Client Automation Interfaces

Log File Generation with the .Net API

 

Using the Server Automation Interface from Perl

Using the Server Automation Interface with C(sharp)

Changing Alarm Limits via the Server Automation Interface

Enable Historic Logging on a Point with the Server Automation Interface

Reading or Writing Object Properties in the Server Automation Interface

Resolving Server Automation Interface Connection Failures

Typical Server Automation Interface Errors

Using Server Automation Interface to Add or Modify Security

Using ViewX Client Automation Interface to an Edit ST Program

 

Load Events Using LoadRecord and LoadRecords

Labels:
  • Application Programming

  • Web Server and Client

Author

Biography

Anonymous user

Link copied. Please paste this link to share this article on your social media post.

  • Back to Blog
  • Newer Article
  • Older Article
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of