Geo SCADA Knowledge Base
Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.
Originally published on Geo SCADA Knowledge Base by sbeadle1 | 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:
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 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.
If you look in the Start Menu folder for Geo SCADA, you will notice a "Client API Guide" shortcut.
This link will take you to the documentation for the automation interface. You should start in the ClearScada.Client.Simple Namespace. The key 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
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:
Server Automation uses the Common Object Model (COM) to export ActiveX Objects to external scripting or programming languages.
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.
Home
More Links:
Log File Generation with the .Net API
Calling Methods Using the Automation Interface
Using the Automation Interface from Perl
Using the Automation Interface with C(sharp)
Changing Alarm Limits via Automation Interface
Enable Historic Logging on a Point
Reading or Writing Object Properties in the Automation Interface
Resolving Automation Interface Connection Failures
Typical Automation Interface Errors
Using Automation Interface to Add or Modify Security
Using Automation Interface to Edit ST Program
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.