From OpenSCADAWiki
Jump to: navigation, search
Other languages:

1 Introduction

The release of OpenSCADA, an open SCADA (Supervisory Control and Data Acquisition) system, version 0.9 is a stable industrial release of the long-term support (LTS).

The main purpose of the release is to provide an updated and stable platform for building integrated automation systems and other adjacent solutions for the community of users and developers of the free software. Also, the release is intended to become an actual and solid foundation for commercial solutions building.

The release is the next release of the stable branch for which, over a long period of time, there provided the technical support from developers and releasing of updates in the form of public builds for the main and stable environments of Linux, as well as operational builds for holders of packages of the technical support. The life cycle of the previous release 0.8.0 LTS stops from its latest update, right before the first builds of 0.9 LTS packages.

It was at this version that the final transition to the Work/LTS development scheme took place, that is, the development is carried out within the working version and on its basis periodically released the stable releases, which, in turn and in parallel, are updated by the back-porting compatible changes from the working version. The initiating transition took place in 2013, when the current stable version was recognized as 0.8.0 LTS and the working as 0.9 Work. Currently, 0.9 LTS is announced as a stable version, and 1 Work as a working version.

In general, the new stable version is the result of six years of development, implementation to various solutions, stabilization and exploitation of OpenSCADA in its work branch, which is currently being released as a stable one. All this time updates for 0.8.0 LTS continued to be released and what will be done for the announced 0.9 LTS.

This document is a generalization of the Change Log, starting with the zero revision of the previous LTS version, through its updates and ending with the current one. The document is intended to briefly and clearly show the new features of OpenSCADA. You can read in detail the changes in the "ChangeLog" file of distributive packages or from the source: http://oscada.org/svn/tags/openscada_0.9/ChangeLog.

1.1 Overall information

The OpenSCADA project was founded by Roman Savochenko in 2003 as a free implementation of the SCADA system or the Human Machine Interface (HMI), based on its thorough projecting during 2002 and the experience of using and developing a commercial SCADA system to this.

SCADA or HMI systems are generally designed and used to carry out human operational control over the work of complex and responsible technological equipment and processes of various manufacturing enterprises.

At the time of announcement of 0.9 LTS, OpenSCADA is a developed SCADA/HMI system, which is quite widely used as in the direct destination and, due to its flexibility, in many related industries and it can definitely be called more general — a dynamic system of working with data in the real time.

The number of the stable version of OpenSCADA is less than one only because its purpose was claimed multiplatform, to achieve which in the planned volume is scheduled for the next stable release number 1. In general, the objectives of OpenSCADA are:

  • openness — mostly GPLv2;
  • scalability, flexibility, extensibility — modularity, multithreading and internal dynamism;
  • executive redundancy — reservation;
  • accessibility — opened source texts; multilingual; dynamic multilingual; automatic build for archives, packages, live disks, ...; builds and executes on wide age Linux environments, from 2002 (2009-ALTLinux 6, LP8x81, Fedora 12; 2012-Debian 7) to modern ones;
  • reliability — practical application, quick problems solving;
  • security — permissions distribution, SSL;
  • multiplatform — x86_32, x86_64, ARM, Web, Android, QNX (preadapted), MS Windows (scheduled);
  • united, unified, user-friendly, dynamic and advanced user interface — Qt, Web, transparent and multi-level remote dynamic control;
  • wide range of the data sources — unified ones, DAQ boards and low-level buses, created into the environment of OpenSCADA.

1.2 Application

Roles of OpenSCADA.

For actual implementations, where at least one implementation is known and with a short list of which from the project participants you can read through this link, belong:

With some restrictions and improvements, largely in the user's internal environment, OpenSCADA can be used in the following areas:

  • enterprise resources management (ERP);
  • Geo-location and location tracking;
  • trading systems;
  • medical diagnostic systems;
  • accounting and bookkeeping;
  • billing systems.

2 Results of the previous release 0.8.0 LTS

The release 0.8.0 LTS was released in April 2012 and during these six years it received 20 updates, which, in total, corrected over 500 errors and added many improvements that do not violate the compatibility of library databases and configurations.

The configuration and library databases of 0.8.0 LTS were generally frozen due to large incompatible changes at 0.9 Work, for OpenSCADA launch methods, and the imperfection of distributing the library databases at the release date of 0.8.0 LTS. Therefore, the upgrade and transition to 0.9 LTS will be non-trivial, although 0.9 LTS provides everything possible for simplification this procedure. Updating 0.9 LTS to the planned future 1 LTS will no longer be so complex and in fact can only turn into a formal change in the version of the working branch, since now it is planned to upgrade all, including the library databases.

3 Planned tasks of the release

The development of OpenSCADA, after the previous LTS version and within the Work branch, was mainly through deep stabilization and through the practical adaptation with elements of the expansion of the existing functional, aimed to provide a stable and reliable environment for the industrial automation and related tasks, and therefore, there was no clearly defined plan. But three years before this release, such a plan appeared and made the following tasks, as seen from the general development plan:

  • Full revising the main documentation and preparing the release announce.
  • Adaptation for work on the software platform "Android".
  • OpenSCADA knowledge and documenting WIKI-resource moving to a new engine with the structure unification for multi-languages into the priority: English, Ukrainian, Russian; and the off-line documentation generation at it changes.
  • Main Web-modules revision, actualization and some expanding.
  • OpenSCADA expanding and adapting for direct working with the low-level buses and their devices like to 1Wire, I2C. Implementation for "the Smart House" in my own apartments.
  • Automation Linux distributive of the project OpenSCADA formal creation and documenting.
  • Creating the Automatic building system of the OpenSCADA packages.
  • Moving the OpenSCADA server infrastructure to its own equipment and Internet channel.
  • DAQ.OPC_UA: Simplification, features rising and protocol's code moving to a separate library on LGPL v3.

These tasks are done and some details about them are given below.

4 System-wide properties

The new stable version of OpenSCADA has gained significant system-wide extensions, increased stability in work and productivity, and also received significant improvements to the graphical user interface and its environment, such as: advanced configuration, documentation, accessible directly from the program (offline and online), and which significantly revised and updated.

The common part of documentation of the project has been moved to a new Wiki, based on MediaWiki, and a significant amount of this part has been revised and translated into three languages — English, Ukrainian, Russian. For the pages transferring a converting procedure from the WackoWiki engine dialect to MediaWiki was created which was completely written in the internal programming language of OpenSCADA, and is used to transfer large volume of the old Wiki. Format the offline documentation has been changed from static PDF-files, that were not updated after the previous LTS version, to HTML-files which dynamically generated from the actual knowledge base (Wiki) of the project, and have actual cross-links between pages and links on the online-documentation, for exclusively external materials. The offline-documentation is also generated by a specially-written procedure in the internal language of OpenSCADA, which, along with the procedure of the Wiki-dialects converting and complex testing the release OpenSCADA, is a bright sign of power and the current level of development of the internal language of OpenSCADA.

Within the old Wiki, after the release 0.8.0 LTS, some documents were added and updated, and with the transferring to the new Wiki, in addition to revision and translation of the main part of the documentation, the overall unification of its structure was made for reasons of: multilingualism (English as a primary language), the logic of the organization, the convenience of translation and the ability to remove duplicate articles from the official site, which at the moment are simply used with the Wiki. We will separately note the significantly expanded main documents:

The original language (English) was completely revised in original messages of the program and mainly for the main articles of the documentation-Wiki OpenSCADA, which is currently making OpenSCADA an adequately favorable for an audience that does not understand the original language — Ukrainian or Russian. And, along with the full realization of the dynamic translation mechanism, it is possible to build on the basis of OpenSCADA the dynamically multilingual user interfaces that you can see, in particular, on the publicly available Web-interface of the dynamic simulators of TP: AGLKS, Boiler.

The Work version, based on this stable, for the first time defined the OpenSCADA projects conception and implemented a command line script for launching and creating OpenSCADA projects. Immediately before the release of this version, the concept of the OpenSCADA project was finally assigned to the folder with the data of the separate project and the configuration file of OpenSCADA, and the implementation of the project manager was integrated directly into OpenSCADA. Consequently, this LTS version has a developed concept for the project manager that allows to flexibly work with them and eliminate the dangerous possibility of multiple launches with the general data of one project.

The Work version also introduced modification of the modules versions at modification in the code of the module and just before they are uploaded to the source repository, and therefore, the versions of the OpenSCADA modules of this release clearly reflect the overall level of development and stability.

Live disks of the Automation Linux distributive of the project OpenSCADA.

In the process of implementing works on the Work branch, based on this stable, there were introduced the repositories of Linux distribution packages with the OpenSCADA builds, which until now were only provided as separate packages. That significantly simplified the deployment of OpenSCADA and keeping it up to date. Then automatic builder of these packages was created, which currently has up to 100 targets, and which greatly simplified the release of updates for both branches, that is the Work and this stable. Therefore, this LTS version provides packages collections for the main Linux environments and the entire history of public updates will be saved.

To the OpenSCADA packages collections there also provide builds of the live disks of the quick acquaintance and deployment of OpenSCADA together with the system environment. Currently, they have received a formal background in the form of the Linux Automation Distribution of OpenSCADA.

Main OpenSCADA server.

OpenSCADA builds and packages are accompanied by a number of open and free materials of the internal environment of the program, that is, the development of the data acquisition and processing layer, graphic representation elements and whole-complex projects of the TP simulators. These materials are provided as SQLite database files and include:

  • Functions libraries (OscadaLibs), "LibsDB/OscadaLibs.db" — contains all the development of the OpenSCADA project in the data acquisition and processing layer, including data source elements of the user protocol.
  • VCA: Main libraries (vcaBase), "LibsDB/vcaBase.db" — contains main elements of the graphic representation and elements of the mnemonic schemes of the OpenSCADA project.
  • VCA: Tests (vcaTest), "LibsDB/vcaTest.db" — contains test elements of the graphic representation primitives.
  • VCA: Library of electrical-elements of the mnemonic schemes of the user interface (vcaElectroEls), "LibsDB/vcaElectroEls.db" — contains elements of the graphical representation of the electrical schemes.

Hosting of the project in general and materials of 0.9 LTS in particular were transferred to own project server, where additionally were deployed: the demonstration Web-interfaces of OpenSCADA simulators, the project of server monitoring and smart home based on OpenSCADA and builder of the packages of the OpenSCADA repositories.

4.1 Internal

The resolution of internal data of the integer type of the OpenSCADA environment is increased to 64 bits. In general, the internal data of OpenSCADA, with error value reservation (EVAL) for each, is unified by common types: logical, integer, real, string, and object. Which primarily concerns the data sources.

To the OpenSCADA core, its own protocol and all nodes that work with remote stations OpenSCADA; added the ability to "raise" the nodes of OpenSCADA that are located behind other nodes and, as a rule, in another network. What generally allows you to centrally manage the OpenSCADA network at any level of the hierarchy.

4.2 Improvements and adaptions to the different platforms

OpenSCADA on Android.

This version of OpenSCADA has gained in-depth support and ability to adapt to different platforms. This was mainly due to the adaptation to work on the Android software platform and the restoration of the building and work with ucLibC, and that it is planned to be used for further adaptation to work on QNX and MS Windows software platforms.

Raspberry Pi.
Orange Pi.

Working on the Single-board PCs was expanded by the Raspberry Pi and Orange Pi boards.

Nokia N9.

Support of the Linux smartphones of Nokia was appended by the last one based on MeeGo 1.2, that is Nokia N9. Or it was the renewing of support for the Nokia N950.

In addition to direct work (natively) on different platforms, the Web-interface has been significantly expanded, which currently implements all the general features of the concept of the Visualization Control Area (VCA).

4.3 Optimization, stabilization and performance

Significant stabilization of the OpenSCADA core, and the overall program, has been achieved through the unification of internal resources control and the expansion of capabilities of the user debugging. In general, the user diagnostic and debugging expanded:

  • general enabling-disabling of the debugging and target control of the debugging nodes;
  • special debugging of the controller objects of the data sources;
  • special debugging of execution of the VCA projects;
  • in-depth statistics formation for execution of the dynamic objects OpenSCADA, such as: controller objects of the data sources and their parameters, incoming and outgoing traffic, VCA sessions with detail up to widgets;
  • logging of ingoing and outgoing traffic of the transports.

Almost all of the OpenSCADA modules have been subjected to deep and comprehensive stabilization and many have been optimized, of which especially should be noted:

  • All DB modules — added processing and verification of database or DBMS errors, and issuance of messages about these errors in the case of user uploading and recording; increased productivity (up to ten times) DBs that support SQL, through the implementation of the pre-loading mode of the scan query;
  • Calculator on the Java-like language (DAQ.JavaLikeCalc) — increased productivity by: saving the context of the function execution, constants pre-loading and direct access to string.
  • Archiver to DB (Archive.DBArch) — significantly optimized for recording and reading of the database, that is: group recording of multiple archives to one table and block reading (multiples of ten) in one query.
  • All transports — increased for the overall productivity.
  • Operation user interface (WEB) (UI.WebVision) — sensitivity of the interface increased by using asynchronous queries in the overall updating cycle.
Redundancy of the OpenSCADA stations.

Reliability of the redundant station on an integrated solution scale, more precisely the preservation of the history data, was enhanced by the extension of the redundancy mechanism, which potentially involves reserving any subsystem and currently implements the subsystems "Data acquisition" and "Archives-History".

And, for the program as a whole, a series of formal comprehensive tests was executed, that was pre-expanded in the internal integrated testing procedure of the OpenSCADA release. On the basis of these tests, several bugs were detected which were fixed.

4.4 Data acquisition

User object model of the core OpenSCADA.

Given the key role of the data acquisition in this type of software, this feature, in the person of the subsystem "Data acquisition" and its modules, has received significant improvements, of which particular attention should be paid: shifting emphasis on the extending supported data sources from implementation of individual modules of the subsystem "Data acquisition" in the system language "C/C++", to their implementation in the OpenSCADA environment and in its internal language — logical level of OpenSCADA. That is, at the logical level of OpenSCADA, can be and implements everything that: uses the network to access the data, does not require to use specific libraries and functions, and is not very complicated. Currently there implemented in this way:

Low-level devices connected to Raspberry Pi.
OpenSCADA on Raspberry Pi LCD screen.
  • Sending SMS (SMS) and Email (SMTP).
  • Uninterruptible Power Supply (UPS), as a data object with attributes of values.
  • Simple sensors:
    • Елемер TM510x;
    • EDWARDS TURBOMOLECULAR PUMPS (SCU750);
    • Sycon Multi Drop Protocol (SMDP);
    • Power supply of the turbo-molecular pump (TMP-xx03);
    • Temperature measurement IT-3 (IT3);
    • IVE-452HS-02;
    • OPTRIS CT/CTL;
    • CTR 100, 101.
  • Computer of the heat-counter VKT7.
  • IEC-60870-104.
  • Test implementations and examples: DCON, OWEN.
  • Bus "One Wire" in help of {DS9097,DS9097U} (1W_{DS9097,DS9097}) for chips: DS1820, DS1820/DS18S20/DS1920, DS1822, DS2413, DS2408, DS2450, DS2438.
  • Bus I2C: PCF8591, PCF8574, BMP180, DS3231, AT24C{32|64}.
  • Generic ports IO (GPIO): DHT11,22 (AM23XX). GPIO|I2C: 1602A(HD44780).

Given the increased role of the logical level of OpenSCADA, there has been an increase in the requirements to the flexibility of the data model of the data source, which was satisfied by:

  • completion of the coverage of the internal data model by all the functions that are specific to the areas of application;
  • adding hierarchy to the parameters of controller objects of the data sources;
  • giving the possibility of an arbitrary and dynamic formation of the data model — a set of attributes of parameters.

The OpenSCADA internal programming language has made significant improvements and, at the moment, satisfies all the requirements of the areas of application OpenSCADA. Many of these enhancements came in the previous version of 0.8.0 LTS, and some could not get there because of the backward compatibility or lack of stability at that time. Of these significant improvements, it should be noted again: increasing the resolution of the data of the OpenSCADA internal environment of the integer type up to 64 bits and preserving the context of execution of the internal procedures.

4.5 Graphical environment

OpenSCADA projects selection dialog.
Custom control of the Qt interface appearance.

In general, the graphical environment has been significantly developed, and the main one has been the extension of the module of starting the Qt-interface, as the basis for the rest local interface modules. First of all, this module and the core of OpenSCADA are adapted to allow the Qt-library to run in the main thread of the program, eliminating many of the problems associated with execution in the non-main thread, and also provides work with version 5 of this library. Secondly, this module took on the role of the selecting interface of the OpenSCADA projects when it launches and switches, as well as creating new ones. And thirdly, because of its primacy to launching Qt, it received the function of controlling the appearance of the program regardless of the graphical environment and the possibility of its launch-closing in the system tray. In general, it has made of the possibility to customize OpenSCADA to personal user requirements and to adapt it to very specific environments such as Android.

Notable improvements have been made to the Qt and Web configuration modules, which are particularly noteworthy:

  • Configurator-Qt (UI.QTCfg): querying remote stations in a separate thread from the Qt-thread made it more convenient and more predictable and even, along with one update, got into the previous stable versions of 0.8.0 LTS.
  • Configurator-WEB (UI.WebCfgD): in general, has been completely updated to the interface, which is now more dynamic, user-friendly and can be extended by themes.
OpenSCADA on Web.

Notable improvements were also made to the Visual Control Area (VCA), consisting of all its modules:

  • VCA Engine and the visualizer modules at all (UI.VCAEngine):
    • allows to carry out a full-hot development, that is — editing the VCA project at the time of its execution by sessions;
    • the original interface messages are fully corrected, grammatically and spelling correct for the English language;
    • provided a number of additional types of the primitive "Form elements", "Diagram" and extended the primitive "HTML" by "HTML" displaying;
    • the mechanism of the widget specific attributes to the visualizer was provided, which allowed to reveal and use their individual properties;
    • new-flexible mechanism of user notification about extraordinary events in the process controlled by the system, which provides the possibility of free formation of custom announcers with the necessary properties, such as: mono-tone signal, synthesis of speech.
  • Visualizer-Qt (UI.Vision):
    • noticeably improved performance of execution the remote interfaces and it is ensured for queries to the remote station in a separate thread from the Qt one, which facilitated remote development with parallel execution of the project;
    • forming the primitive "Document" can be performed at help WebKit.
  • Visualizer-WEB (UI.WebVision):
    • unified, optimized and expanded by using CSS3;
    • provides the implementation for all elements-primitives of the unified interface;
    • performs the scaling to allowed space of the browser window;
    • increased for the working productivity and the interface sensibility, through using only the asynchronous mechanism at updating.

All Web modules, in general, have the opportunity to change the view by topics, through the system-wide interfaces of the protocol HTTP and its mechanisms for query processing and response forming. Also, they all have the support of dynamic translation of the interface, which is especially relevant for multi-user Web-interfaces, and what you can see on the demo Web-interfaces of the OpenSCADA models: AGLKS, Boiler. There is also a mechanism for the distribution of access to the pages, which, in particular, allows to differentiate access to the Web-modules in general.

5 New and significantly updated modules

The new version has added new modules and significantly updated a number of present ones:

  • New modules added:
    • MMS(IEC-9506) (DAQ.MMS) — a module of supporting for data exchanging at the protocol "Manufacturing Message Specification (MMS, IEC-9506)".
    • Comedi (DAQ.Comedi) — a module of supporting the data sources of the real time (library "Comedi"), which are based on the data acquisition boards of different manufacturers and are installed on the buses: ISA, PCI, PCMCIA and USB.
    • SMH2Gi (DAQ.SMH2Gi) — a module of implementation of access to hardware modules of the data sources of PLC Segnetics SMH2Gi,SMH4 for "MC", "MR", and also for interaction with the original environment "SMLogix".
    • Fastwel IO (DAQ.Fastwel) — a module of data exchanging with the hardware modules of Fastwel IO.
    • FT3 (АПСТМ) (DAQ.FT3) — a module of data exchanging with the PLC АПСТМ, АСДКУ, СУАП.
    • GPIO (DAQ.GPIO) — a module of accessing to GPIO of the single-board PC like to Raspberry Pi, Orange Pi and other.
  • Calculator on the Java-like language (DAQ.JavaLikeCalc) expanded for: support for internal functions, dynamic translation of messages and many other functions of the user programming interface in general.
  • Data sources gate (DAQ.DAQGate) expanded by reflecting the messages associated with the selected data source.
  • Data acquisition of OS (DAQ.System) expanded for the data sources: "File System", UPS, QSensor and the ability to separate slow sources from fast ones.
  • ModBus ({DAQ,Protocol}.ModBus) expanded for support string, as a sequence of values of the registers.
  • Client DCON (DAQ.DCON) significantly expanded for specific modules support.
  • Roles of OpenSCADA as the OPC-UA server.
    OPC-UA (DAQ.OPC_UA) significantly expanded for Publishes and to support for "Chunks" into client part of the service, the specific protocol code is separated from the library.
  • Equipment of ICP_DAS (DAQ.ICP_DAS) significantly expanded, and in fact completely rewritten, for support all available ICP_DAS data acquisition boards for the series I8k, I-87k, on the ISA bus and unified types for standard modules of the I7k series.
  • Siemens S7 PLC (DAQ.Siemens) significantly expanded its own implementation of ISO-TSAP.
  • Diamond data acquisition boards (DAQ.DiamondBoards) significantly expanded, but in fact completely rewritten, to support all existing data acquisition boards from Diamond Systems.
  • AMR devices АСКО (DAQ.AMRDevs) appended of support the counter Kontar (MZTA).
  • All DB modules significantly expanded by the dynamic translation.
  • Archiver to DB (Archive.DBArch) expanded by archiving several archives into one table and restoring the list of archives from information in the database.
  • Archiver to FS (Archive.FSArch) added for supported the intermediate types "Int16", "Int32", "Int64", "Float", "Double", and appended by an absolute limit to the size of the archive on the disk.
  • All transport modules extended for the pooling mode of the input transports and protocols.
  • Sockets (DAQ.Sockets) expanded by the RAWCAN bus support and initiated connections of the input transports.
  • Serial interfaces (Transport.Serial) expanded for the low-level bus I2C support; special user functions of the serial interface: "sendbreak", "TS", "DR", "DCD", "RI"; advanced control RTS for RS-485.
  • Security Sockets Layer (Transport.SSL) expanded by support: TLSv1.1, TLSv1.2, DTLSv1.
  • Own protocol of the program (Protocol.SelfSystem) expanded for hierarchical and multi-level targeting of requests to external hosts.
  • HTTP (Protocol.HTTP) expanded for adapting to the user interfaces in the system dialogs and providing a generic API for building HTTP interfaces for both the user and the modules behind it.
  • Program configurator (Qt) (UI.QTCfg) OpenSCADA control interface requests are moved to a different thread and improved for implementation of the control elements.
  • Program configurator (Dynamic WEB) (UI.WebCfgD) expanded with a new design using CSS3 and the features of modern WEB browsers.
  • Conception and the Visual Control Area (VCA) (UI.VCAEngine) expanded by: support for specific visualizer attributes of the widgets, implementation of the new-flexible mechanism of the user's notification, background (in a separate thread) execution of the document forming task, increase of the number of trends in one frame to 100 and support of the logarithmic scale for the primitive "Diagram".
  • Operation user interface (Qt) (UI.Vision) expanded: to work on the network through the visualizer server; implementing a group of attributes specific to this visualizer; realization of the views "Tree", "Table" and extension of the type "Button", of the primitive "Form elements"; implementation of the view "XY" of the primitive "Diagram"; significant refactoring code of the primitive "Elementary figure".
  • Operation user interface (WEB) (UI.WebVision) expanded for using CSS3 and the capabilities of modern browsers, in particular: added zoom to the available window browser space, implemented all the primitives of the unified interface.
  • Functions library of the system API of the user programming environment (Special.FLibSYS) expanded by the functions and objects: "floatExtract", "md5", "tmSleep", the object "IO"; significantly expanded for the actual functions and objects: "dbReqSQL", "FFT", "strParse", "strDec4Bin".

6 Conclusion

On the way to the new release 0.9 LTS of industrial use, much work has been done to stabilize, expand functionality, and expand adaptability to work on alternative platforms. All this in general has further expanded the scope of full use of OpenSCADA at all levels of industrial automation systems and related areas of automation and automatic.

LTS versions of OpenSCADA are not blank, they are really supported all the time until the next LTS version, and support for this version will be further expanded with the service updates. Also, the emphasis and implementation policy of the LTS version, which was previously recommended to upgrade configurations with frozen library databases, will be shifted to the using priority on a wide range of new solutions.

Previous adaptation of OpenSCADA to work on QNX.

In the emergence of the new industrial version of OpenSCADA 0.9 LTS took part:

  • Roman Savochenko: the main volume of work on the development, testing, building, documenting and translation of the program and documentation in three languages.
  • Maxim Kochetkov: implementing the modules DAQ.Fastwel, DAQ.FT3; expanding the module Transport.Sockets by support RAWCAN and the module Transport.Serial by extended control RTS for RS-485.
  • Arsen Zakojan: implementing for support the electricity counters "Mercury 200" and "Mercury 230".
  • Ruslan Yarmoliuk: implementing for support the electricity counter NIK 2303.
  • Almaz Karimov: expanding for the module of the protocol DCON implementation.
  • Arcadiy Kisel: implementing for support the I2C temperature, barometric pressure and humidity sensor BME280.
  • Constantine (IrmIngeneer): support of the OpenSCADA build on the Linux distribution Gentoo.
  • Sergij Doroshka: previous adaptation of OpenSCADA to work on QNX.
  • The organizations which caused to the most significant OpenSCADA improvement through it integration to own control systems:
    • Proviron Holding NV: purchasing the technical support packages for the general support, fixing and improvement the Siemens ISO-TSAP(ProfiNet) protocol implementation, some workouts with Raspberry Pi, 2014, 2016-2018.
    • Laboratory of the vacuum technologies: "Vacuum technological facility", 2011-2018, and financing equipment for the OpenSCADA server, 2014
    • Optima: "Automation System of the Metropolitan", 2015-2016.
    • Vector: purchasing the technical support packages for fixing and improvement the OPC-UA implementation to work with different OPC-UA clients and servers, 2015-2016.
    • Kramatorskteploenergo+DIYA: "ACS of the ball drum mills BDM 287/410 of the boiler #8 of BKZ 160–100 PT", 2015, and "ACS of Phosphating, Amination and Hydrazine of boiler BKZ 160–100 PT", 2014. For PLC there used ICP-DAS LP-8781 with OpenSCADA in a role of environment of execution of PLC.
    • Hartron: "Reactivity Monitoring System (RMS) of the Subcritical Nuclear Facility (SNF)", 2013-2015.
  • Many other organizations and individual users who wished to remain anonymous, through the purchase of technical support and services, constructive feedback on implementation and exploiting.

Further development efforts will focus on:

  • Completion of revisions of the basic documentation, mainly for modules and libraries.
  • Clear definition and update of the policy of providing commercial services around the OpenSCADA project:
    • view and update the terms of package of the technical support;
    • policy and organization of building updates to the stable branch: preserving the history of all public updates and organizing service ones;
    • distribution of exclusively commercial builds with public demonstration on an example package for Android — development and formation of a mechanism for monitoring the term of the package of technical support and demonstration mode.
  • Mastering and adapting to Enterprise Resource Planning (ERP), focusing on:
    • create a resource management interface on the project server;
    • creating a common interface for tasks control and their funding, with the organization of developers to engage in the implementation of these tasks and technical support.
  • Expand the application functions in the areas: "Smart House", "Home Automation" and "Custom Robots".
  • Adaptation to work in the environment of the operating systems QNX and MS Windows.

7 Updates

7.1 [17.08.2020] The SECOND update

  • State: Completed

The common releasing process, for the users to estimate your expectations and for the developers to remind the tasks:
1. The preparing and building week:

  • Building the last Work SVN-revision for all environments of the irregular building to provide early and wide testing the coming LTS release.
  • Announcing the releasing process start:
  • Merging the Work branch changes or copying the whole Work branch tree to the LTS branch-tree.
  • Making some LTS specific changes about the version rise:
    • updating configure.ac for version of the release-update and core library;
    • updating data/*.spec and data/{debian,debian_mod}/changelog for the new version number and appending the files' changelog for new release-update entry.
  • Forming-appending the LTS ChangeLog by the changes from the Work ChangeLog, grouping the changes by the location and sorting them by the fixing status and the level, with combination new features under one item and without removing any different changes.
  • Copying the significant changes from the formed LTS ChangeLog to the related page of the release-update, taking the changes in the level more or even than "!!".
  • Translating the release-update pages, updating the ToDo and RoadMap.
  • Generating the actual offline documentation using the service procedure "EXT: Off-line documentation".
  • Committing the LTS tree changes to the repository and building that.
  • Announcing the release-update.

2. The testing and post building week:

  • Hot testing the release build.
  • Finishing and fixing the ChangeLog translating and the documentation.
  • Generating the actual offline documentation using the service procedure "EXT: Off-line documentation".
  • Committing the release fixes to the repository and building that for the second-final build.

This update of the 0.9 LTS release fixes about 60 bugs and appends some improvements, which you can read wholly in the update ChangeLog.

Automation Linux distributive of the project OpenSCADA

  • KMix was completed in improving the work with PulseAudio by making dynamic in the patch "kmix-UpdMixersForChangeAndChMaster.patch".
  • KRfb (VNC-server) was fixed for crashed and completed in implementation typing the additional keys to the main keyboard layout, Cyrillic mostly but allowed for additional UTF symbols also.
  • Complete translation updating of the Trinity Desktop Environment project to Ukrainian for the parts: tdelibs, tdebase, tdenetwork, tdemultimedia, tdepim (mostly), krusader, yakuake.

OpenSCADA libraries and projects

  • LibsDB.OscadaLibs: The Devices Library appended for the protocol IEC-62056 implementation (DevLib.IEC62056). The offline documentation appended for the document "AGREEMENT ON TECHNICAL SUPPORT OF THE "OpenSCADA" SOFTWARE" version 2 and the new module DB.DBGate.
  • FIX:LibsDB.vcaBase.Main.alarmsSt: Some fixed for the original messages and the "quietation" completely replaced by "confirmation". Restored in preventing the duplicate entries for new alarms in that category.

API
!!!!:Changes:

  • SYS: The station statuses unified in the function isRunning(), isFinalKill() and stopSignal(). TCfg::setReqKey() appended by a new argument "treatDep".
  • DB: dataSeek(),dataGet(),dataSet(): Expanded for the local configuration context argument "localCfgCtx";
  • *,DB: TBDS::dataSeek() and TTable::fieldSeek() switched to the seek cache implementing in the corresponded modules.

Appends:

  • TMess,DB,DB.{SQLite,MySQL,PostgreSQL,FireBird}: TMess appended for a function of detection the configuration translation translCfg(), which used in all DB modules and in dataSet().
  • SYS: Appended for the global configuration context accessing functions cfgCtx() and setCfgCtx().
    • The loading and saving configuration appended for own lock TSYS->cfgLoadSaveM().
    • Appended for the function pathLevEnd() of the paths processing from the end.
    • TRegExp: Appended by the function getPattern().
    • TFld: Appended for the combined string variant of the length field - lenS().

SYS

  • FIX: Building:
    • FIX:configure.ac: Core library version rose to 3:8:0 and the program version rose to 0.9.2.
    • Modules version of the subsystem "BD" rose to 14, of the subsystem "Transport" rose to 16.
    • data/ModelsDB/{AGLKS/oscada_AGLKS.xml,Boiler/oscada_Boiler.xml}: The input Sockets' transports unified in the names "WEB" and "CNTR".
    • data/ModelsDB/AGLKS/St.sql: The input SSL transports unified in the names "WEB" and "CNTR" and updated for the KeepAlive timeout setting in 60 and for the SSL-certificate.
    • data/{oscada_start,oscada_server,oscada_plc}.xml:
      • The input WWW-transports are unified, where "WEB_1" renamed to "WEB" and "WEB_2" removed.
      • Appended for the disabled DB-entries of the standard OpenSCADA libraries.
      • /oscada_start.xml: Appended for the disabled input transports "WEB" and "CNTR". Appended for the value archivers FSArch.{SYS,alarms,actions} and message archivers FSArch.{1s,1m,1h}.
  • FIX:data/openscada-proj.in,UI.QTStarter: Implementation the builtin backuping.
    • FIX:data/openscada-proj.in: Appended for the commands "backup", "backupRestore", "backupList" to implement the project backups.
    • UI.QTStarter: Appended for the backup commands call from the project manager - list of the projects.
  • .,DB,DAQ.{LogicLev,ModBus,Siemens},UI.{QTCfg,WebCfgD}: Implementation the interstation copying mechanism of the control interface nodes.
  • .,UI.QTStarter: OpenSCADA starting with a module as the GUI in the main thread significantly refactored for:
    • early registration the GUI module in the main thread directly by that module itself and in postEnable() function;
    • adaption the function perSYSCall() to use for update the GUI module in the main thread, its splash mostly, during the program starting and stopping (from the service task) and at the configuration loading (for switch to the starting splash);
    • enabling the messages dynamic display for the main thread execution mode;
    • unification of the splash display for the both modes.
  • .,Protocol.SelfSystem,DAQ.AMRDevs: Client accessing of the OpenSCADA control interface expanded by the multiple authentication, what prevents of using direct requests of the OpenSCADA control interface with the authentication in each the request, often for UI.Vision.
  • FIX:TRegExp: The patterns processing fixed appending the end symbol treating, so preventing TController::alarmSet() collisions in the objects strict detection.
  • FIX:LibsDB.OscadaLibs.doc.diagram,UI.{Vision,WebVision}: Prevented from the value scale double adjustment for the percent scale and appended for the value range expanding.
  • FIX: The function TCntrNode::isModify() processing for the children allowed only for nodes in the state "Enabled".

DB

  • A new module "DBGate" created.
  • FIX: TBDS::dataSet() expanded for setting only keys and viewed elements, like to other DB. Appended for changing-saving the defined entries in the config file instead complete saving all their in the default DB.
  • FIX: The wrong started DB objects in the first fixed for try them next start tries.
  • FIX: DB loading is prevented from double loading from the config file and from DB for the equal entries.
  • The TBD object appended for the service control "call" requests support: "/serv/SQL", "/serv/fieldStruct", "/serv/fieldSeek", "/serv/fieldGet", "/serv/fieldSet", "/serv/fieldDel".
  • FIX:SQLite: Detected and corrected of data losses with concurrence access, when a minor error of the not activated transaction "cannot commit - no transaction is active (1)" is generated, which, however, interrupts the data recording.

DAQ

  • FIX: JavaLikeCalc: The internal functions executing appended for storing the shared-own registers context, in two variants, for allowing the recursion primarily.

Transports

  • The output transports unified by creation the connection parameters, by conPrm(), instead direct ones prm1() and prm2().
  • The configuration option "START" was removed for the output transports as spare one and to prevent long starting.
  • FIX:Sockets,SSL: To prevent the multiple execution of the high loading and long-time control requests the output transports switched to:
    • the default configuration for Tries=1, Timeouts="30:2";
    • for the connection losses the tries number set to 2;
    • for the error "Timeouted" the connections also set to reconnect, besides the SOCK_FORCE type.

Transport Protocols

  • FIX:ModBus: The output requests of the TCP-variant appended for checking Transaction ID of the response packages.
  • FIX:SelfSystem: The output part expanded for checking correspondence of the responses to the requests by the request tag name. Appended for encoding special symbols of the user and password, and the empty password encoding as "<EMPTY>".

User Interface

  • Vision,WebVision: The visualizer specific property "userSetVis" appended for password implementation after the direct user specifying and for applying all users.
  • FIX:QTStarter: The standard-system start/stop splash updated and appended for information about the program (the custom splashes also) and the OpenSCADA project, including the project icon. Context menu of the project list appended for an item of removing not running projects.
  • FIX:QTCfg: Appended in tracing the page changing for indication in the navigation tree with scrolling to the current item.
  • FIX:VCAEngine: Prevented from crashing on big configurations with long closing the runtime sessions in accessing the widget heritors (mHerit) by appending the ResRW lock "mHeritRes". The property "Translation" of the widget procedures completely moved to the direct access and set visible only for the procedure presence, also as the procedure text area and the calculation periodicity visible only at any language selection.
  • FIX:Vision: The authentication and user changing procedure in UserStBar::userSel() and the dialogue object "DlgUser" were significantly unified.
  • FIX:WebVision: Unified in the primitive "Button" implementation: by moving the custom buttons under <button></button> and appending the proper CSS-styles for the default and pressed state with the border and transparent image difference. The issue of closing all pages of the main page container with frozing the last loss page at fast page switching caught and fixed at last. Appended for the custom interface CSS rules.

Service updates

7.2 [08.04.2020] The FIRST update

This update is done after 1.5 years of releasing the 0.9 LTS, then it worth as 10 updates by there have fixed about 250 bugs and append many improvements, which you can read wholly in the update ChangeLog.

The key features of the update are:

  • significant expanding and stabilisation of the Web-interface during practical exploiting in a large distributed solution based on the module UI.WebVision; also expanding and stabilisation the hot development during the multiple execution of the developing project;
  • testing, fixing, and extending the redundancy in the messages part, also through the practical exploiting in a large distributed and also redundant solution, in the common-system code and the module DAQ.ModBus;
  • complete restructuring, improvement and addition of the OpenSCADA libraries in the SQLite files;
  • general documentation enhancements, appending for the all libraries documentation and revision for most module documentation.

7.2.1 OpenSCADA libraries and projects

  • FIX:DB.LibsDB.{OscadaLibs,vcaBase}: Translation updating.
    • FIX:JavaLikeCalc.doc,doc: The user interface library "Documents" and the JavaLikeCalc "Reports' and documents' library" revised, improved, appended, documented and the documentation appended to offline.
      • FIX:doc: {docUsersSet,docAlarmsRep,docMessRep}: The field "Parameter" renamed to "Source" in the way of global unification of the alarm messages structure of the function alarmSet().
        • Appended for implementing "Year report of the month values (docRepYear)" with a function of entering values in the manual mode, support for the manual values storing into the message archive, their display in the table and diagram.
        • {doc,docDin,docRep2WorkSh(renamed docRepSm2),docAlarmsRep,docRepInstVals(renamed docGasNodeMgn),docMessRep,docUsersSet, docRepDay(renamed docGasNodeDayA),docRepMonth(renamed docGasNodeMonthA),docRepYear(renamed docResourcesYear)}: made the JavaLikeCalc translation by tr().
        • {docRepInstVals,docRep2WorkSh,docRepDay,docRepMonth}: Significantly rewrote, improved and made secondly usable, by allowing the DAQ-parameters connecting.
        • docMessRep: Appended for processing the remote stations as additional sources and anytime.
      • JavaLikeCalc.doc: Appended for implementing the "Diagram (diagram)" building in SVG.
    • PrescrTempl,prescr: The user interface library and the template library "Prescriptions" revised, improved, appended, documented and the documentation appended to offline.
      • PrescrTempl: Appended for the "Manager" template, moved from the controllers library.
      • prescr: Items of the library expanded for DB linking and the command and program tables automatic creation.
  • DB.LibsDB.vcaElectroEls: The user interface library "Elements of the electric" revised, improved, appended, documented and the documentation appended to offline.
    • Appended for the four unified items: "Key, unified (keyUnif)", "Switch, unified (swUnif)", "General state, unified (stGenUnif)", "Area state, unified (stAreaUnif)".
  • FIX:DB.LibsDB.OscadaLibs:
    • Updated for some messages.
    • FIX:base: The template library "Main library" revised, improved, appended, documented and the documentation appended to offline.
      • {anUnif,anUnifSt,manInUnif,digAlarm,codeState,pidUnif,pidUnifImp,SNMP,UPS}: Moved under the unified alarms forming and controlling mechanism.
      • Appended for the "initConsAssignTrs" template of the assigned output transports processing of the initial Sockets' connections for any type of the source objects, that is DAQ-modules and logical level controllers and parameters.
      • Appended for the "codeState" template of the state forming by a code.
      • Appended for the complex notifier implementation in the template "ntf", the separate JavaLikeCalc function and the user protocol objects "SMS" and "SMTP" are marked for obsolete.
      • Appended for the "UPS" template, moved from the "Industrial devices" library.
    • FIX:DevLib: The template library is a splitted part of the original library "Devices" under the name "Industrial devices", which revised, improved, appended, documented and the documentation appended to offline.
      • FIX:IEC60870: Appended for the separate time "tmPoolAll" of the period of the complete polling.
        • Appended for the package M_ME_TF_1, M_ME_NC_1 support, expanded for the SQ-mode support, tested for M_ME_TF_1 and M_ME_NC_1, M_ME_NB_1 in the SQ-mode, set AI to "real".
        • Appended for the option "syncTimePLC" to controll the PLC synchronisation.
      • Appended for the true DCON implementation in the templates DCON_Prt, DCON_Prt_DI, DCON_Prt_AO, DCON_Prt_DO, the user protocol object "DCON" is removed.
      • Appended for a full featured implementation of the protocol OWEN in the data acquisition part.
      • Appended for the DNP3 implementation and it tested with outstation-demo from opendnp3.
      • Appended for the counter modules Pulsar-M (pulsarM) implementation.
      • Appended for the ModBus scanner implementation as the template "ModBusScan".
    • LowDevLib: The template library is a splitted part of the original library "Devices" under the name "Low-level devices", which revised, some improved, documented and the documentation appended to offline.
      • FIX:{1W_DS9097,1W_DS9097U}: Fixed for the device family detection as the template 0x7F, detected on the last DS2413 with the first byte 0xBA.
      • Appended for the template "MAX6675" implementation of the low-level SPI Cold-Junction-Compensated K-Thermocouple-to-Digital Converter.
      • Appended for the template "SHT3x" implementation of the low-level humidity sensors.
      • Appended for the templates ADS111x(ADS101x) and MCP4725 implementation of the low-level I2C chips.
    • FIX:JavaLikeCalc.techApp: The JavaLikeCalc library "Technological apparatuses" documented and the documentation appended to offline. All Cyrillic symbols removed from identifiers of the models and all texts corrected.
    • tests: The template library "Tests" renamed from the library "S7".
    • JavaLikeCalc.servProc: The JavaLikeCalc library "Service procedures" revised, some improved, documented and the documentation appended to offline.
      • docOffLine: Significantly expanded for detailing the error messages and placing the unfinished pages to the argument "pagesCur" for continue the termination.
    • JavaLikeCalc.regEl: The JavaLikeCalc library "Regulation elements" documented and the documentation appended to offline.
  • FIX:DB.LibsDB.vcaBase:
    • FIX: Complete and significant cleaning from the Cyrillic symbols and improving in the original identifiers and messages, renaming their to English.
    • Most standard cadres and widgets adapted to styles and the style "Light" created for all projects.
    • FIX:Main: The user interface library "Main elements" revised, improved, appended, documented and the documentation appended to offline.
      • FIX:{alarmsAct,alarmsSt}:
        • Expanded for support quittance-confirmation, comments and custom fields.
        • The field "Parameter (prm)" renamed to "Source" where placed all remoted and local sources.
      • RootPgSo: Improved for dynamically create signal objects, the number of which is limited only by the total length of the signal objects names and their two rows. The signal object buttons generating in the right of the logo is supported also. The types of views also unified for ID "view[1..6]", when user can their assign in self way. The compatibility with the original names of the views was saved, for present projects!
      • Appended for:
        • the control panel-window "Graph parameter calculation (graphCalc)";
        • the objects widget "Object properties (objProps)";
        • the alarms frame "Alarms — report (alarmsStReport)";
        • the widget "Image label (ImgLab)";
        • the frame "Users manager (userManager)".
      • grph_panel: Appended for an independent button of switching to the cursor time instead the indirect switching at the depth of decreasing.
      • ElViewGraph: Font size of the name decreased from 15 to 11 and trend color of the disabled items set by default to "gray".
      • The prescription frames "prescrEdit", "prescrRun" and "prescrRunSimple" moved to the new library "Prescriptions (prescr)".
      • cntrRegul: The trends width increased to 2 pixels.
    • FIX:mnEls: The user interface elements library "Mnemo elements" documented and the documentation appended to offline.
  • FIX:Model.{AGLKS,Boiler}: Significantly updated regarding the common libraries' changes.
    • FIX: Significantly cleaned and all original identifiers renamed to English, during the documentation revision.
    • FIX: AGLKS.vca,Boiler.St: Adapted to the new changes of the main page.
      • The style "Light" created for all projects. The styles moved under a scheme of direct styles disabling at their presence instead "No style" and the style "Default" is appended.
    • FIX:Model.AGLKS:
      • FIX:St:
        • FSArch.1m: The strange and temporary message archivers removed: FSArch.{NetRequsts,test,StatErrors}, DBArch.test and added the actual ones: FSArch.{alarms,actions,SYS}, DBArch.SYS.
      • FIX:vca: The analog parameters and graphics is relinked.

7.2.2 API

!!!!:Changes:

  • SYS: The ResMtx default constructor set to true for "isRecurs" but it is the typical situation.
    • The most functions of appending to the nodes container expanded for returning the result created node ID/name for: chldAdd(), TSecurity::{usrAdd(),grpAdd()}, TTypeBD::open(), TTypeTransport::{inAdd(),outAdd()}, TValue.chldAdd(), DAQ.{TController::add(),TParameter::add(),BlockCalc.blkAdd()}, TTypeArchivator::{messAdd(),valAdd()}, TArchiveS::valAdd(), UI.VCAEngine::{wlbAdd(),prjAdd(),WLib.add(),Project.add(),Project.Page.pageAdd()}, UI.WebUser.uPgAdd().
    • TFld::Selected everywhere renamed to TFld::Selectable.
    • The special function strMess() variant with limiting in the result message size is removed and replaced by the function strEncode() in the type TSYS::Limit.
    • chldList() and chldPresent() set to virtual.
  • DAQ,Special: The attribute "run_st" in TPrmTmplLib and TSpecial renamed to runSt.
  • Archives: TArchiveS::messPut() cleaned from the argument "force".
  • Protocols.HTTP: User API functions pgAccess(), pgCreator() moved from TProtocol to TProtocolIn.
  • Transports.In: The function protocol() renamed to protocols() and protocolFull() removed.

Appends:

  • SYS: Common locks mechanism is added by a locks container, the function commonLock().
    • TConfig,*: The user API functions TConfig::cfg() and TConfig::cfgSet() of the configuration expanded by the permition control.
    • Appended for the configuration context resetting functions to defaults TCfg::toDefault() and TConfig::cfgToDefault().
    • TFunction object appended by a mark of the function procedure changing isChangedProg() and the flag TFld::Selectable and the function ioAdd() appended by the result for the appended IO position.
    • The Control Interface request "load" expanded for specifying the selected DB in the attribute "force" to perform such operations for concrete nodes.
    • XMLNode: The attributes getting function attr() expanded for the optional argument of the presence detection.
    • The user space "Array" expanded by the functions indexOf() and lastIndexOf().
    • The user API function SYS.fileRead() expanded by the arguments of the reading block offset and size.
    • The user API function strEncode() appended for support the variants "ToLower" and "Limit".
    • The user API appended for the function strFromCharUTF() of forming string from UTF-8, UTF-16, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE.
    • Appended for the definition SERV_TASK_PER=10 of the service task periodicity.
    • The user API appended for the function SYS.fileSize().
    • The function str2atime() is appended to convert from string time to the UNIX epoch time supporting GMT.
    • TError appended for naming the error codes in the enum "Codes", which used everywhere.
    • The special archive names appended for the name ALRM_ARCH_CH_NM ("<alarmsChange>") of just changing the presented alarms.
    • The limits appended by USER_ITS_LIMIT (1000000) for limit the items number like to user arrays from DAQ.JavaLikeCalc.
  • DB: Appended for the transactions closing control into the OpenSCADA core by the functions trTm_ClsOnOpen(), trTm_ClsOnReq() and trPr_ClsTask().
    • Appended for the DB-objects reenabling control at the function disabledByUser().
    • Appended for configuration of the "Opened tables lifetime" of the inactive tables closing by the function tblLifeTime().
    • The attribute TBD::mEn moved to the protected space.
  • Transports:
    • In: Appended by the virtual functions keepAliveReqs(), keepAliveTm() for the true KeepAlive on Web.
    • Out: Appended for a service of closing output transports at the lifetime (inactivity) by the service function outLifeTime().
      • Expanded by the attempts field ot the generic control in the function attempts().
      • Unified for the last request time control in the function lstReqTm().
      • The function outAddrHelp() of taken common address help for the output transport modules was added.
  • Protocol.HTTP: Appended for the user API function setUser() to change the authenticated user.
  • DAQ: TController::alarmSet() expanded for the argument "force" to force the alarms on the controller objects in the redundancy.
    • The DAQ-parameter appended for the User-API function alarmSet() and the function vlSetRednt() of the unified values writing in the redundancy.
    • TDAQS::rdRestDtTm() expanded from the float to double type return.
    • Appended for the user API function daqAt().
    • The user API function funcCall() expanded by the "err" argument.
    • JavaLikeCalc: The User API functions charAt() and charCodeAt() expanded to support UTF. The User API functions expanded by isNaN() for bool, integer, real, string (especially for checking numbers in the string).
  • Archives:
    • The objects TMArchivator and TArchiveS appended of the function redntTm() and rdTm() to obtain last time of the message archives redundancy.
    • TArchiveS::rdRestDtOverTm() expanded from the float to double type return.
    • Val: The value archives appended by the common option autoIdMode() of the mode of forming ID of the automatic created archives with the enum variants AutoIdMode::{BothPrmAttrId,OnlyPrmId,OnlyAttrId}.
    • Val: The user API functions getVals() and setVals() added to implement generic archives/history accessing mechanism in an array and the fixed periodicity.
  • UI: The inline documentation declaration from description some nodes is unified in the function TUIS::docKeyGet().
    • VCAEngine: The user API function this.ownerSess().uiCmd() added on the session level. The runtime widget appended of the user API function this.attrList() of obtaining list of the widget attributes.

7.2.3 SYS

  • FIX: The source code messages and program documentation:
    • TMess: Appended for the environment variable LC_ALL cleaning and setting "LANG" if empty, to prevent from overriding LC_NUMERIC=C at the last.
    • FIX:.,*: Fixed for many original messages of the source code also during the most modules documenting.
    • FIX:DAQ.JavaLikeCalc: The JavaLikeCalc code translation by the function tr() fixed in creating the translations table "Trs" and entries here in the simple mode (single language).
    • The inline documentation:
      • The offline documentation appended by some OpenSCADA modules and most libraries of the internal procedures and graphical elements. The common CSS-styles file of the offline documentation "doc/en/files/doc.css" improved in disable the transparent background color and some properties of the language selector.
      • Declaration from description some nodes is unified in the function TUIS::docKeyGet() and the nodes appended for that:
        • the DAQ-template and JavaLikeCalc libraries;
        • the VCA-libraries in UI.VCAEngine and UI.Vision.
      • UI: TUIS::docGet() appended by a code of the LTS build checking and using the LTS frozen documentation on the OpenSCADA file-server.
      • FIX:DAQ.JavaLikeCalc,UI.VCAEngine: Fixed in the offline documentation declaration for "User_API".
  • FIX: Building:
    • FIX:configure.ac: Core library version rose to 3:7:0 and the program version rose to 0.9.1.
    • The Debian 10, CentOs 8 and Ubuntu 20.04 root file systems (chroots) are appended for build OpenSCADA.
      • The source codes significantly cleaned at the building warnings of GCC 9 (CentOs 8).
      • UI.{QTCfg,Vision}: Adapted to build in the environment of Debian 10 for Qt5.11.3, GCC8 and an error about a conflict in the macro message() into StdLibC++ through Qt5.
  • Android: The behaviour of using the environment variable QT_SCALE_FACTOR on Android is observed, what set to 1.5 and the default font "Helvetica,12,-1" with QScrollBar CSS rule are removed.
  • The module version of the subsystem "Special" rose to 12; of the subsystem "DB", "DAQ", "Archives" and "UI" rose to 13; of the subsystem "Transports" rose to 15.
  • FIX: Threading, tasks, realtime and locks:
    • Some common data resources of dataRes() replaced by own resources, mostly due to the observed locking problems in Protocol.HTTP and DAQ.ModBus.
    • FIX: Common locks mechanism is added by a locks container, the function commonLock().
      • FIX: Transport.{Sockets,SSL}: Used for system functions like to getaddrinfo(), which is not multithreaded one.
    • The tasks planning appended for phasing their invoking, what make the CPU loading even.
    • FIX: The function TCntrNode::nodeDis() waiting fixed for zero time and the function chldDel() set to no waiting by default.
    • FIX: Fix for the negative priority of the policy "BATCH".
    • Archive,DAQ.Controller: For the current time of messages and values mostly used TSYS::curTime()/1000000 instead time(NULL) due to the message and value time is in microseconds and mark by TSYS::curTime().
  • FIX: Redundancy:
    • .,UI.{QTCfg,Vision,WebCfg,WebCfgD}: The function "Local primary commands transfer" of the redundant systems is unified and expanded for complete moving to TCntrNode::cntrCmd(), so the function works now for any calls also from the user programming environment.
    • Archives,DAQ.DAQGate: The messages bottom time border processing for redundancy and the DAQGate changed to use time of the last message to repeat it requesting for two time, to prevent the messages losses on the border.
      • FIX: The redundancy and DAQ.DAQGate restored for writing the big value archive's blocks, mostly in restoring the value archive parts.
      • The first alarms obtaining in the messages redundancy enabled only at presence the message archivers in the redundancy.
      • Placing messages to the archivers of the redundancy procedure TMArchivator::redntDataUpdate() changed to use the function put(), to do this operation atomically for all obtained messages under a lock.
    • DAQ,DAQ.*: Writing values in the redundancy is unified under the new function vlSetRednt(). The service "TValue::get:/serv/attr" expanded to some spare request of the last requested value to prevent EVAL here at the connection loss.
  • The function strEncode() appended by the variant "Limit" to limit the string size counting for the UTF-8 variability, and such items moved to it instead removed limiting variant of the function strMess(): TConfig keys, DAQ-Template IOs, DB.SQLite, UI.QTCfg.
  • FIX: Configuration:
    • TConfig,TCfg: The key fields appended for their size limiting before cutting on the DB side.
      • *: Adapted in the adding functions to treat the ID or name forming and to limit its size, returning the result name to the creator, using the node function chldAdd() expanding in direct return the ID and to just remove the new node for equal ones.
      • DAQ: Identifiers of the logical level IO of the DAQ-templates expanded to the size limit up to 1.5*OBJ_ID_SZ=30 symbols and have added for these shrinking on creating.
      • Transports: Size of the output transports ID set to OBJ_ID_SZ*2, since it can be combined from the ordinal node ID and some prefix, in the automatic mode.
      • Appended by a function of setting the TCfg fields to the default value, to prevent loading values of previous records for miss fields.
    • TConfig,*: The user API functions cfg() and cfgSet() of the configuration expanded by the permition control.
    • The loading from selected DB improved in checking the DB enabling before, in the function TSYS::chkSelDB().
    • TCntrNode,DAQ,DAQ.JavaLikeCalc: Appended for the function load__() to treat some doings in the loading end.
  • Control Interface:
    • *: Unified in the modification control of the node objects and cleaned the spare modifications, moving the calculation context modification to the option "modifCalc".
    • .,UI.{QTCfg,WebCfgD}: Tables expanded for difference help per columns and cells.
      • Transports: Table of the external OpenSCADA hosts expanded for the context help to the transport address cell, using the function outAddrHelp().
  • The DAQ-templates and all their implementations appended by a function of selectable attributes creation from the template field "Value" of the two and three lines, TFunction::IO appended by the flag TFld::Selectable.
  • The unified DAQ-templates implementation TPrmTempl::Impl is finished and such items migrated and adapted to it: DAQ.{JavaLikeCalc,ModBus,LogicLev,Siemens}, Protocol.{ModBus,UserProtocol}, UI.WebUser.
  • FIX:DAQ,Archive.DBArch: The TElem copy constructor was implemented to fix problems into Archive.DBArch at multiple groups-tables in the group table mode.
  • Function,DAQ.{JavaLikeCalc,LogicLev,ModBus,Siemens}: Expanded for tracing the function program changing and hot restarting the executing procedures, by setting the flag "f_start".
  • TMess,XMLNode: Appended for the function setUTF8() of forming UTF-8 from their code, taken from XMLNode to use in other places.

7.2.4 DB

  • FIX:*: The configuration context resetting function cfgToDefault() used in the function dataSeek() and fieldSeek() begin, due to it is an obligatory operation for the configuration file at least and must be done for the DB configuration also, for new fields.
  • Appended for the transactions closing control into the OpenSCADA core whether in the service task, for the timeout > 10 seconds, or in a different per DB task of fast transactions closing of the shared DBMS. For what appended the functions trTm_ClsOnOpen(), trTm_ClsOnReq() and trPr_ClsTask().
  • DB-objects appended for restoring their enabling after the connection loss (or other reason) for meaned to enable and not disabled by the user, by disabledByUser().
  • Appended for configuration of the "Opened tables lifetime" of the inactive tables closing.
  • FIX:{SQLite,MySQL,PostgreSQL,FireBird}:
    • FIX:{MySQL,PostgreSQL,FireBird}: Improved and tested for hot restoring of the losses connections and without the data loss.
      • FIX:FireBird: Restored for the main work in the primary keys requesting and adapted to FireBird version 3.
      • FIX:MySQL: Resolved for crashing in the built-in reconnection (by MYSQL_OPT_RECONNECT), which replaced for the own and hot reconnection. Fixed for the error "BLOB/TEXT can't have a default value (1)" on modern MariaDB server versions, wholly removing the DEFAULT for TEXT.
    • SQLite: Appended for correct treating the locking of the SQLite DB files, at accessing to common libraries from different processes.

7.2.5 DAQ

  • TController::alarmSet(): Expanded by implementing the alarms triggering conception, which means also of passing messages to the buffer for clearance the alarms only at the alarms presence.
    • Globally unified and completely described in the documentation for messages from the controller objects and DAQ-parameters, when the parameter-source in the message appended for the controller object name.
    • FIX: Changed to use complete parameter ID-path, to prevent collisions in alarms from parameters with even IDs but different sources.
  • FIX:*: The property period() is set actual in early, at the configuration "SCHEDULE" changing, for true data period of the archives.
  • Expanded for early enabling the template libraries in the loading stage, initially for transport protocols based on the DAQ-templates.
  • FIX:ModBus:
    • FIX: The mode "Asynchronous write" restored and tested in writing after restoring the connection, to use it for the losses preventing. The asynchronous writing moved to the after requesting stage with oppresing-delay the writen values changing in the attributes, before the writing buffer clearance.
    • FIX: Fixed for work in the redundancy mode.
    • FIX: The common function upVal() is separated to two functions upValStd() and upValLog() of the parameter types separate updating for the "Standard" firstly and the "Logical" type in the last, for cases of using data of the "Standard" type parameters in the "Logical" ones.
    • Expanded in work with wrong or empty connection transport, to allow it set-change from external procedures.
    • Expanded for the flag "s" of the strict requesting at the complex data.
  • FIX:JavaLikeCalc: Expanded for try of the restoring the previous procedure executing at the new one error, mostly from DAQ-templates.
    • FIX: Fixed for crashing in the hot compiling, mostly at returning to the correct procedure after the wrong one compiling, in case of the procedure uses internal functions and possible external ones also due to missing for clearing "fPrmst". All these clearings are unified in the functions buildClear(), workClear().
    • Set to stop the functions at the program source changing for apply the changes.
    • FIX: Prevented for the recursive call, observed on the recursive widgets creating in UI.VCAEngine.
  • Siemens: Extended for direct specifying the data type of the link address. LibnoDave updated to 0.8.5.1.
  • DAQGate: Expanded by an option and a function of placing different remote controllers to the virtual parameters.

7.2.6 Archives-History

  • FIX:Mess:
    • /serv/mess: In put it is improved for independent writing to the archive and just to update the presented alarms.
    • Messages of the function's Mess->put() macrosses "message", "mess_info", ... redirected to the buffer writing, to prevent of direct writing to the archivers.
    • TArchiveS::messPut() cleaned from the argument "force".
  • FIX:Val:
    • TVArchive::getVals(): Improved for processing not free buffers (for a fixed period) of the data requesting from the buffer and different archivers, using an intermediate buffer array which is back replayed at the end.
    • FIX: Improved for the limit processing independently for the buffer and the archivers and their periodicity, to work the long ranged and high periodicity data requests.
    • FIX: TValBuf.get() switched from the exceptions emitting to return EVAL at the requested data missing.
    • The value archives appended by the common option "Mode of forming ID of the automatic created archives" with selection from the modes: "Both parameter and attribute ID", "Only parameter ID", "Only attribute ID". For the possibility to control the automatic archives naming.
    • TVArchive::{setVals(),setVal()}: Access to the archive writing functions restricted only for users in the group "Archive".
  • FIX:FSArch: The XML mode of the messages appended by the positions cache.
    • FIX: The messages archivation is significantly improved and fixed in placing several different messages in even time.
    • FIX: Fixed for the info.db removing and processing by using the DB address as a unique essence instead limited DB-identifier, what currently is named through indexing the equal ones.
    • FIX: The archive folder creation moved in the begin, before the locking and the info.db creating.
    • FIX: Fixed for archiving double messages in the mode of preventing the doubles - rewriting.
  • FIX:DBArch:
    • FIX: Fixed for the value archives including to an archiver for the not grouped archiving mode.
    • FIX: Finally fixed for the single-value requests of the value archive, after the not full fix from 2018-02-23 only for the archiver data period 1 second.
    • Adapted to work in the only direct archive writing mode on the archives group mode for updating the meta at writing.

7.2.7 Transports

  • .,*: Expanded for support the multiple protocols selecting and the function protocol() renamed to protocols().
    • Appended for a service of closing output transports at the lifetime (inactivity) by the service function outLifeTime(), unified for the last request time control in the function lstReqTm().
  • FIX:Serial: Fixed for the "Modem" mode of the output transports in the correct processing the function ResMtx::tryLock() result. The flow control field moved to the options field due to a need with direct disabling some options like to -RS485.
  • FIX:Sockets,SSL: Expanded for support IPv6 both for input and output transports using getaddrinfo().
    • Appended for processing (connecting) all IP addresses resolved from the symbolic one, especially for the output transports.
    • The output transports appended for direct definition several host addresses.
    • The output transports improved in using the tries after the error "Reading timeouted." of responding to request.
    • FIX:Sockets: Fixed in processing the output transports with the address "SOCK:{N}" of the initiative connections to clean up the address by setting it to "SOCK:-1", then preventing of the restarting possibility with using already closed socket's handler but possible allocated already by another part of the program.
      • Address of the input transports in the TCP-mode can be expanded for addition parameters and currently the next one after the mode field is identification message of the initiative connection into the mode 2, so this mode expanded for sending identification messages after establish the initiative connections.
      • "TCP:" prefix of the addresses set to nonobligatory-optional.
      • The address mode of the input transports set to 1 (do not close, only by the KeepAlive parameters) by default.
      • The default port set to 10005.
    • SSL: Appended for treating NO_*_METHOD for TLS1, TLS1_1, TLS1_2, DTLS1 and for direct support DTLSv1_2. The default port set to 10045.

7.2.8 Transport Protocols

  • FIX:HTTP: Appended for the true KeepAlive support by the input transport functions keepAliveTm() and keepAliveReqs(). Expanded for the DB table "HTTP_AuthSessions" of the external authentication sessions.
  • FIX:ModBus: The input part expanded for the DAQ-templates using.
    • The data types list of the IO table appended by the type "Object".
    • The protocol variant recognising for input requests some improved for detecting difference RTU and TCP variants, appending to that the transport type.
  • UserProtocol: Expanded by the DAQ-templates support.
  • SelfSystem: Expanded for the output transport attempts support.

7.2.9 User Interface

  • FIX: TUIS::mimeGet() changed in the behaviour of determining the file extension "svg" as "image/svg+xml" for correct and multiple SVG files display on WEB.
  • FIX:VCAEngine,Vision,WebVision: The variant "LineEdit" of the primitive "FormEl" appended for the view "Password".
  • FIX: The VCA-styles moved under a scheme of enabling styles at their presence instead disabling by "No style" and fixed in the the new items creating and at all.
  • VCAEngine,Vision: All information moved to the status field for widgets, libraries and projects; what appended for the calculating procedure state - inherited, redefined.
  • FIX:VCAEngine:
    • Pages of the projects appended for the type "Link", to optimise the memory consumption on fully dynamic and highly replicated pages, on the project's session side. The pages opening in the project's execution (sessions) improved to prevent spare and double opening and closing, which is critical one to manage the linked pages.
    • Many measures of the visual items edition in time of the project execution:
      • Fixed in deletion the project pages in time of the project execution, to prevent the objects lock and to provide their early linking for removing the session pages together the project pages.
      • Session objects moved under own data lock to prevent the dead locking in the complex situations due to the style calls uses indirect parent().
    • Optimisation the remote development:
      • the info control services "/prm/cfg/prj", "/page/page" appended by getting of number of the child pages in the attribute "chPgN" at setting "getChPgN";
      • appended to prevent the widgets' icons transmitting in the control service "/serv/wlbBr" of the complete widgets' tree loading, setting the attributes "disIconsW", "disIconsCW".
    • The project sessions of the VCA moved at the last from the modification control for the development mode.
    • Expanded for the direct definition of the visualiser specific attributes, marking their by the prefix "vs_".
    • FIX: The project session command "close" of the service "/serv/pg" forced to processing, what actual to the linked pages.
    • FIX: The VCA pages loading procedure appended for cleaning the spare records and records of inherited but missed widgets of the "*_incl" table.
    • FIX: Fixed in the User API function tr() work from documents.
  • FIX:QTCfg,Vision: Fixed in processing the syntax highlighting of the text fields to load firstly the syntax rules and next the text, to prevent the text corruption in some cases, detected into the transport exchanging log and Qt 5.11.
    • Appended for buttons of the force loading and saving, into the menu.
    • Table forming improved for the allowed width getting from maximumViewportSize().
  • FIX:Vision,WebVision: Improved for the scrollbar control of the included pages, to ensure they work separately, not two together.
    • FIX:ElFigure: The mirroring support is completed in the implementing for the common, shape Arc draw and it generic and image fills. The filling by image prevented from lacks at accessing outside the image.
    • FIX:Diagram:
      • FIX:Trends: Expanded in the time scale building for many days with the time complete hiding and show the first value in the left, using the timezone offset. Appended for support the big time range intervals per month.
      • Disabled in limiting the requested archive values precision, for long counters.
      • Improved in the remote work on slow channels and with the value buffers period in 10 seconds.
    • Text,Media,Box: Expanded to display the activity cursor.
    • FormEl: Some views (Line edit, Text edit, Combo box, List, Tree, Table) expanded for custom background and border by the visualiser specific attributes "vs_background", "vs_border".
    • Appended for the visualiser specific attribute "vs_winTitle" of the dynamic window title value.
  • FIX:Vision:
    • Optimisation the remote development:
      • The projects tree switched to download the branches partially at expanding, to improve it work on slow connections.
      • The widgets tree improved in the work on slow connections, disabling the widgets' icons downloading at the threshold of the complete tree downloading time more for 5 seconds and enabling that at the time less for 0.1 second.
    • Expanded for the planning of the updating period depending to the real connection quality of the runtime mode, like to UI.WebVision.
    • FIX: Common fixes and improvements of the runtime window modes:
      • FIX: Manual scaling of the runtime window (for full-screen or maximise) improved and fixed in the processing the sign isResizeManual.
      • FIX: Fixed in starting to the full-screen mode and not full scaling at restoring to not zero window position.
    • FIX:FormEl:
      • FIX:Table: Tables fitting improved to use maximum width from the widget size and the maximum view port, but the maximum view port only can be uninitiated here yet. Final fix for the tables fitting, moving the procedure in events: create, resize and show. Prevented from casual crashing.
      • FIX:Date: Fixed for crashing at setting configuration.
    • FIX: Fixed for the master page regular replacing (crashing) and scaling into the run-time mode.
    • FIX: The runtime executing was fixed from crashing in closing external windows at closing the main window.
    • FIX: Fixed in the properties edition dialogues of Pages/Libraries and Widgets for:
      • preventing for closing at Esc;
      • disabling for timeouted cancelling of the LineEdit;
      • unbinding the edited state from the visibility for TextEdit;
      • preventing from the changes loss into the tab "Process";
      • appending for warnings about the inherited calculation procedure changing.
    • The focus control rewrote to the VCA-widgets specific one and not Qt-widgets, like to UI.WebVision, what prevents some problems.
    • ElFigure: The figure edition switched to the normal mode, without any transformation (rotation and mirroring).
  • FIX:WebVision:
    • FIX:Main operation:
      • FIX: The JS function servSet() of writing to the server switched to the synchronous mode to prevent loses.
      • The main checking of the background objects is made unified and expanded for support the optional background objects, to decrease the overall number of the background objects, where the obligatory currently are: "ElFigure", "Diagram", "Document", "FormEl"; and the optional is only "Text".
      • The main window vertical expanding threshold set to 10% of the window decreasing size and to 50% for shrinking, to prevent flicking on FireFox for notes about block the external windows. The built-in scaling mode set to use-enable in relation from window.devicePixelRatio equal to 1, on the WebBrowser level.
      • Significantly improved in the connection losses detection for the main page reload, for the cases of return back to already closed sessions in WebBrowser.
      • Appended for implementation the visualiser specific attribute "userSetVis".
      • FIX: Restored in the full widgets tree reloading to restore the function of removing missed widgets in the visualiser at their removing into the VCA-engine.
      • FIX: Prevented from spare and separate requesting of the included pages' content, in the starting.
      • FIX: Improved for the focus control behaviour and fixed to prevent mouse events to behind pages.
    • Appended for the pages cache be controlled in the lifetime and the pages maximum number, both on the server and WebBrowser side, then the module is more suitable now to work in the operative mode!
    • Sessions control:
      • Expanded for the possibility of the opened sessions manual closing from the administrator user.
      • FIX: The ordinal users prevented from connection to foreign sessions.
      • FIX: The main requesting code of GET significantly simplified to prevent of reconnections to the VCA-sessions without the local ones.
      • Appended for the state of the opened sessions on the control page, including the connected project and the user.
    • FIX:Status bar:
      • Appended for the alarm level with a function of the global quietation, sending "ws_alarmLev".
      • Expanded for the VCA-styles support in their display and changing.
      • FIX: Fixed in form the statusbar size, updating and preventing from its flicking at the master page updating.
    • FIX:FormEl:
      • FIX:{Tree,Table}: Are fixed for true counting the border width and padding in the result geometry.
        • FIX:Tree: Fixed for processing the empty string in the end. Appended for scaling the control tree images.
    • Expanded for setting the VCA visual elements at the "class" attribute to "Primitive {WPrimitive}" and the "id" attribute to the widget identifier like to "wdg_{id}", for simplifying the customisation.
  • FIX:QTStarter: The function updLookFeel() fixed for the void return type. Right mouse key and context menu emulation is added at holding the left mouse key during the time set by the command line option --simulRightMKeyTm. This time set to 2 seconds for Android.
  • FIX:QTCfg:
    • FIX: Fixed for applying forgotten changes of the editable widgets at switching to a different node. The TextEdit items fixed for the editing sate detection, what is unbidden from the visibility.
    • The Node groups hint is added for a command of the node adding.
    • The moving operations, in the configuration table, expanded by the hot keys "Ctrl+Up" and "Ctrl+Down".
    • Optimisation the remote work:
      • Prevented from the navigation tree updating at selecting any item.
      • Makes slower the cycle of the periodic updating after the busy dialog appearing.
    • Set fast for the closing time of the configurator window with many OpenSCADA inactive external hosts, by early notifying the host tasks.
  • WebUser: Expanded by the DAQ-templates support.

7.2.10 Special

  • FIX:FLibSYS:
    • FIX:IO: write() fixed for the default data type obtain, wrong data type obtaining set safe.
    • CRC: Completed by using normal polynomials, the input and output references and the XOR for output.
    • VArchObj: Access to the archive writing functions restricted only for users in the group "Archive".

7.2.11 Service updates

8 Links