Contents
- 1 Updates
- 1.1 [01.01.7532/01.03.2024] The SEVENTH update
- 1.2 [01.01.7531/01.03.2023] The SIXTH update
- 1.3 [22.12.7529/22.02.2022] The FIFTH update
- 1.4 [14.04.7529/14.06.2021] The FOURTH update
- 1.5 [20.10.7528/20.12.2020] The THIRD update
- 1.6 [17.06.7528/17.08.2020] The SECOND update
- 1.7 [08.02.7528/08.04.2020] The FIRST update
1 Updates
1.1 [01.01.7532/01.03.2024] The SEVENTH update
This update of the 0.9 LTS release fixes about 60 bugs and appends VERY MANY improvements with several of significant-conceptual ones, which you can read wholly in the update ChangeLog.
User significant actions on the update
- DAQ.System: ID of the automaticly generated DA parameters changed to: CPU - "CPU[{N}]", fs - "FS{MP}", hddstat - "DiskSt_{dev}", MEM - "MEM", netstat - "Net_{IF}", sensors - "Sensors", hddsmart - "DiskSMART", ups - "UPS", uptime - "UpTm_{U}".
- => manually relink all the automatically created sources which changed, when you use the Automatic creation mode
- FIX:UI.VCAEngine: Prevented from connection the attribute "focus" of any included widget to the calculation IOs and appended by processing the exceptions of accessing those IOs for missing included widgets.
- => manually replace all static using the "focus" attribute like to if(alarms_focus) alUnSel = 10; in LibsDB.vcaBase.wlb_Main.alarmsSt to the code if(this.alarms.attr("focus")) alUnSel = 10;
Automation Linux distributive of the project OpenSCADA
- appending Debian 12 as the distributive base;
- moving of building the Debian 11,10,9 base to the Debian 12 environment;
- updating TDE to 14.1.1 and next to 14.1.2, with stabilising up to the level of 14.0.13;
- prevents optionally the system tray from show program icons with different WMID but equal names like to BlueMan;
- prevents the very flooding in "~/.xsession-errors" by the debug messages like to "[FIXME] UNCLASSIFIED DEVICE name: ...";
- disabling of using Security Cards for authentication in the kdesktop lock dialog, due to it became unusable;
- HWLib: using in calculation Ah from Wh of the Designed Voltage instead the Current Voltage for accordance with the capacity information on the battery; prevented from freezing in the Hardware Manager;
- KRDC, KRFB: restoring the normal functioning from 14.0.13;
- KXKB-KLayouts: Fixing regressions in loss-clean the system keyboard layouts;
- TDESVN: preventing crashes at accessing DB from KPart;
- Krusader: fixing of unpacking *.tar.xz and *.txz, so completing of implementation the XZ support there;
- KMix: adaption the mixers dynamic;
- KMilo: restoring the brightness control after its breakage;
- QuickLauncher: it is just ignore empty items, so they will be removed after the configuration updating;
- TDM: disabling the authentication by a Security Card to prevent hangs at the exit;
- KOrganizer: improving the attachments dialogue for pointing only file with naming the attachment item from the file name and inline by default; improving the categories editing dialogue for notifying the underlying selecting dialogue about categories changing;
- TDEPowerSave: prevents of resetting the widget of displaying values the batteries since their become to show empty bar and -1; commented the SLOT slotHelpContents() due to its missing; prevents appearing the false inactivity dialogue to suspend just after awakening, which is appeared especially often on notebooks in work from the battery;
- KPackage: optimisation of the memory consumption in way of reading "apt-cache dumpavail" result through an temporary file but not through memory, that is the memory consumption on Debian 12 decreased from ~900MB to ~450MB;
- TDEPrint: fixing of translation of names of groups of the printing properties;
- translation to Ukrainian: knmap, knutclient, konversation, tdenetworkmanager.
Main WWW-resources, documentation of the project and subprojects
- the "Quick start" manual completely revised and actualized for the last LTS changes;
- appending the Industrial devices library page by description new templates;
- appending the Main library page by description new templates;
- appending the Main elements library of the user interface page by description new widgets;
- complete revision and actualising to the last LTS changes for pages of the modules: DAQ.System, Transport.SSL;
- started the new subproject NETGEAR R6220 with OpenSCADA building and adaption to MIPS.
New and significantly updated parts
- OpenSCADA Core: 3:13:0 => 3:14:0
- (Unification the building with adaption ..., Refactoring and unifying the Transports subsystem ..., Control for big memory consumption), Messages Translation — fixes of the conceptual changes of the previous updates)
- OpenSCADA "Transport" subsystem: 19 => 20
- OpenSCADA "DAQ" subsystem: 14 => 15
- DAQ.System: 2.4 => 3.3
- DAQ.LogicLev: 2.7 => 2.9
- DAQ.DAQGate: 2.11 => 2.13
- DAQ.ModBus: 3.6 => 3.8
- DAQ.OPC_UA: 2.6 => 2.8
- DAQ.JavaLikeCalc: 5.5 => 5.6
- DAQ.Siemens: 4.4 => 4.5
- DAQ.AMRDevs: 0.7 => 0.8
- Transport.SSL: 3.4 => 4.5
- Transport.Sockets: 4.5 => 4.8
- Transport.Serial: 2.6 => 2.7
- Protocol.SelfSystem: 1.10 => 2.0
- UI.QTCfg: 5.12 => 6.0
- UI.QTStarter: 5.14 => 6.0
- UI.VCAEngine: 7.11 => 7.13
- UI.Vision: 8.6 => 9.2
- UI.WebCfgD: 2.4 => 2.5
- UI.WebVision: 6.8 => 6.10
- LibsDB.OscadaLibs.DevLib: 2.6 => 3.0
- LibsDB.OscadaLibs.Main: 2.0 => 2.2
- LibsDB.vcaBase.Main: 2.0 => 2.1
- (Appending by several widgets with documenting)
- storeHouse: 1.3 => 1.4
- grpGraph, grpGraph10: 1.5 => 1.6
- ElViewGraph: 1.4 => 1.5
CONCEPTUAL > Unification the building with adaption to Debian 12, Qt6, QtWebEngine, QtMultimediaEngine, OpenSSL3, MIPS
- FIX: Finished in true building with the core library only in static:
- configure.ac: the configuration option --enable-CoreLibStatic expanded for definition the AM_CONDITIONAL(CoreLibStatic) and the environment variable LIB_MOD;
- moduls/*/*/Makefile.am: appended by the option --tag=disable-shared and expanded by using the environment variable LIB_MOD;
- src_call/Makefile.am: expanded by the AM_CONDITIONAL(CoreLibStatic) specific processing for static linking the core library with all included modules.
- configure.ac,acinclude.m4: Cleaned from the deprecated macroses in AutoConf 2.70:
- AC_HELP_STRING renamed to AS_HELP_STRING;
- AM_CONFIG_HEADER renamed to AC_CONFIG_HEADER;
- AC_LIBTOOL_DLOPEN replaced by LT_INIT([dlopen]);
- AX_PTHREAD replaced by AC_SEARCH_LIBS(pthread, [pthread_create])
- commented for AC_PROG_LIBTOOL, AM_PROG_LIBTOOL, AC_HEADER_STDC, AC_HEADER_TIME, AC_TYPE_SIGNAL, AC_ISC_POSIX.
- acinclude.m4,DAQ.OPC_UA.libOPC_UA,Transport.SSL,Special.FLibSYS: Cleaned from deprecated functions in OpenSSL 1.1 (API 3.0):
- acinclude.m4: testing function of the macro AX_LIB_OpenSSL() and AX_LIB_OpenSSL_opt() for libcrypto replaced from MD5_Init() to BIO_new(); testing function of the macro AX_LIB_OpenSSL() for libssl replaced from SSL_free() to SSL_new();
- OPC_UA.libOPC_UA: UA::symmetricEncrypt() and UA::symmetricDecrypt() merged to UA::symmetricCrypt() and switched for using EVP_CipherInit() and EVP_CipherUpdate() instead AES_cbc_encrypt() for new versions;
- using RSA_public_encrypt() moved to EVP_PKEY_encrypt() and RSA_private_decrypt() moved to EVP_PKEY_decrypt() for new versions.
- Transport.SSL,Special.FLibSYS: using of MD5() moved to EVP_DigestInit_ex(), EVP_DigestUpdate(), EVP_DigestFinal_ex() for new versions.
- configure.ac: In appending Qt6 that is appended by Qt6Sensors, Qt6WebEngineWidgets, Qt6MultimediaWidgets.
- Appended by checking Qt5WebEngineWidgets and Qt5MultimediaWidgets for support in UI.Vision.
- Appended by checking the declarations-functions clock_nanosleep, pthread_rwlock_timedwrlock, newlocale for very pure environments of MIPS with UCLibC.
- The parameters --disable-WebKit and --disable-Phonon renamed to --disable-QtWebEngine and --disable-QtMultimediaEngine respectively.
- The generic variables QtWebKit_{CFLAGS,LIBS} and phonon_{CFLAGS,LIBS} renamed to QtWebEngine_{CFLAGS,LIBS} and QtMultimediaEngine_{CFLAGS,LIBS} respectively.
- Most of the corresponding messages were improved.
- Appended by checking the header pthread.h.
- acinclude.m4: The AutoConf macro AX_LIB_Qt expanded by Qt6 support and improved in MOC and RCC detection for Qt5.
- Some messages improved.
- data/{debian,debian_mod}/compat: The level was risen up to 7 for default building at modern Debian distributives.
- data/{debian,debian_mod}/control: Appended by the dependency variants qt6-base-dev, qt6-webengine-dev, qt6-multimedia-dev and qtwebengine5-dev, qtmultimedia5-dev. Appended by the dependency variant libsensors-dev to libsensors4-dev.
- ResRW::{resRequestW,resRequestR}(): Appended of using the timed version at the definition HAVE_DECL_PTHREAD_RWLOCK_TIMEDWRLOCK.
- TSYS::atime2str(),SYS.strftime(): Appended of using the localized data at the definition HAVE_DECL_NEWLOCALE.
- TSYS::{sysSleep,taskSleep}(): Appended of using the clocked sleep at the definition HAVE_DECL_CLOCK_NANOSLEEP.
- Control Interface of the main page appended by hiding the tab "Translations" and the language fields at missing the internationalisation in whole.
- TMess,TModule: The HAVE_LIBINTL_H checking replaced by "#if HAVE_LIBINTL_H", that is checking for 1.
- Transports.SSL: Adapted to new functions of OpenSSL 1.1 (API 3.0) with treating deprecated ones.
- UI.{QTStarter,QTCfg,Vision}: Adapting for building with Qt6, including adapting to Qt6WebEngine and Qt6Multimedia:
- QLayout::{setMargin,margin}() replaced by QLayout::{setContentsMargins,getContentsMargins}();
- QVariant(char*) replaced by QVariant(QString);
- the QMouseEvent constructor replaced by one with the global position;
- QRegExp replaced by the OpenSCADA's variant TRegExp for functions of replacing and testing or by the direct checking;
- the QComboBox signal activated(const QString&), currentIndexChanged(const QString&) replaced by activated(int), currentIndexChanged(int) respectively;
- the QSignalMapper signal mapped(QWidget*) replaced by mappedObject(QObject*);
- QPalette::Background replaced by QPalette::Window and Qt::MidButton by Qt::MiddleButton;
- QFileDialog::setReadOnly() replaced by setOption();
- QApplication::desktop() replaced by QScreen;
- QAction::parentWidget() replaced by parent();
- QVariant::type() renamed to typeId(), QMouseEvent::{pos,globalPos}() renamed to {position,globalPosition}(), QDateTime::{setTime_t,fromTime_t,toTime_t}() renamed to {setSecsSinceEpoch,fromSecsSinceEpoch,toSecsSinceEpoch}();
- appended by renaming functions for different Qt versions with help the macro-definitions in different files and for: typeId() to type(), position() to pos(), globalPosition() to globalPos(), setSecsSinceEpoch() to setTime_t(), fromSecsSinceEpoch() to fromTime_t(), toSecsSinceEpoch() to toTime_t(), mappedObject() to mapped(), setSource() to setMedia(), setVolume() to audioOutput()->setVolume(), setMedia() to setSource(), state() to playbackState();
- appended for support QRegularExpression instead QRegExp in Qt6;
- the QMouseEvent property mouseBtHold splitted on two QPointF: mouseBtHoldPos, mouseBtHoldPosG;
- the keyboard combination separator "+" replaced by "|", that is "Qt::SHIFT|Qt::Key_F1";
- the event QEvent::KeyRelease in LineEdit apply replaced by QEvent::KeyPress;
- QTStarter: the generic library lib_qtgen appended by the function winFit() of specific windows fitting on mobile systems in common; appended by the attribute Qt::AA_ShareOpenGLContexts before the Qt application object for QtWebEngine work on Qt6;
- Vision: adaption to Qt WebEngineWidgets instead WebKit and to Qt MultimediaWidgets instead Phonon, and the primitive Document split for force using QTextBrowser in the development mode. Restored in new action items of the library widgets appearance by placing the new actions to Menu before ToolBar.
CONCEPTUAL > Refactoring and unifying the Transports subsystem in the additional parameters management and expanding in using the connection time parameters for registering configuration parameters of external sources
- the container configuration field "A_PRMS" of the additional parameters moved to the core library from the modules;
- appended by functions TTransportS::{prm,cntrCmdPrm}(), {TTransportIn,TTransportOut}::prm() with common implementation the additional parameters;
- conPrm() expanded by support the configuration parameters of external sources like to protocols and it extended to the input part, also as for the User API;
- conPrm() appended by an argument of the default value and what used in all transport modules;
- clearConPrm() expanded by clearing single parameter and only from external sources;
- setConPrm() was removed after implementing this feature in conPrm() and some modules was updated for that: DAQ.AMRDevs, Protocol.SelfSystem;
- Protocol.SelfSystem is the first protocol who is used now the configuration parameters in transport;
- the output transports appended by a link to an input transport, who created the output one, and it is used for holding here the configuration parameters of external sources;
- all configuration of the associated output transports are set hidden;
- control of the additional parameters moved in own tab "Additional (aprm)" with a function of resetting their values;
- marking the input and output transports as modified set only at the configuration fields real change.
CONCEPTUAL > Control for big memory consumption
- SYS: TCntrNode::cntrCmd() in processing the primary commands of the Control Interface appended by their generic logging to control actions caused the big memory consumption.
- FIX:DAQ: JavaLikeCalc: The strings concatenation operation appended by the limit checking on limUserFile_SZ(10M).
- System: Appended by DA Process as an interface to Linux processes in control their memory usage.
- FIX:Archives: The requests TVArchEl::getVals() and "TValue:get:/serv/attr" appended of limiting the requesting depth in limUserIts_N (1e6) items to prevent for big memory consumption.
- FIX: The Control Interface request "TValue:get:/serv/attr" fixed in limit calculation of the function getVals().
- FIX:.,FSArch: The values archiving appended by limiting the writing operations at limUserIts_N (1e6) entries for tracing of consuming all memory in some cases.
CONCEPTUAL > Messages Translation (fixes of the conceptual changes of the previous updates)
- FIX:SYS,DB: TMess::translGet() fixed in detecting the system prestored messages at setting empty translation messages and the function TMess::translGetU() fixed in cleaning service zero symbols in non dynamic translation modes.
- DB: TTable::fieldSQLSet() adapted to clearing the message base and all translations at zeroing a translation, for clear messages edition in the dynamic translation mode and from non base language.
- SYS,DB.{SQLite,MySQL,PostgreSQL,FireBird},Protocol.HTTP: The messages translation adapted mostly for language codes more of 2 (two) symbols.
- Protocol.HTTP,UI.{WebUser,WebVision}: Finished in adapting for dynamic translation the station name with unification the User API function pgCreator() for using language from objFuncCall().
- Protocol.HTTP: Path from TSYS::ico() used for obtaining translated icons.
- SYS,UI.{Vision,WebVision}: The function TSYS::atime2str() appended by the date translation and it is used in building the time scale of the primitive Diagram of VCA.
- FIX:DB: Allowed in true writing of user changes in the Dynamic Translation Mode on non Base Language, by early checking for dynamic data.
- FIX:DAQ: The DAQ-Templates finished in adapting to translation string type values at their editing and using in the Template Configuration Tab and fixed-adapted to the dynamic translation in using the IO names.
- FIX:DAQGate: Fixed in the values sending of the translatable fields not in the internal translation structure.
- Protocol: HTTP: Adapted for dynamic translation the station name and processing encoded file names of images.
- UserProtocol: Fixed-adapted for the dynamic translation of the IO names.
- FIX:UI.VCAEngine: Templates fixed-adapted to the dynamic translation in using the configuration template of the attributes.
- FIX:UI.WebUser: Fixed in translation the page name in the index.
- FIX:UI.WebVision: Fixed in dynamic translation the user name on the index page.
OpenSCADA libraries and projects
- data/{oscada_plc.xml,oscada_server.xml,oscada_start.xml,ModelsDB/{AGLKS/oscada_AGLKS.xml,Boiler/oscada_Boiler.xml}}: Cleared in the input transport description and the transports appended by the port group: 10002,10003,10004 for WEB and 10005,10006,10007 for CNTR.
- LibsDB.{OscadaLibs.flb_Controller.test,vcaBase.prj_archBrowser.IDW},ModelsDB.AGLKS.St.{OPC_UA.test,Archive.{MemInfo_use,CPULoad_load}},ModelsDB.Boiler.St.Archive.{MemInfo_use,CPULoad_load}: Adapted to renaming DAQ.System.AutoDA.CPULoad and DAQ.System.AutoDA.MemInfo to DAQ.System.AutoDA.CPU and DAQ.System.AutoDA.MEM.
- FIX:ModelsDB.AGLKS.St: The input SSL transports set by the port group 10042,10043,10044 for WEB and 10045,10046,10047 for CNTR.
- FIX:WebUser.test: restored in the text before unification the translation.
- DAQGate.test: Updated for the parameter cache.
- LogLevPrm.gen: All parameter objects set for "alDelay" in 1, to prevent the alarm messages at the exiting.
- Sockets.{testRelease,testRelease1,testRelease2}: disabled by default.
- LibsDB.OscadaLibs:
- tmplib_DevLib: The library appended by the templates with documenting:
- from VPF: Incubator, VSE002, "FF LE-03MB CT (FF_LE)", "Ergomera 625(ergomera625)";
- from Blue Star Group: "Goboy 1M (Goboy1M)", "AutoPILOT PRO Flow Computers (AutoPILOT)", "AutoPILOT OLD Flow Computers (AutoPILOT_old)", "Corrector BK (CorBK)", "Tancy Data (TDS)", "UltraMag", "Enron, Daniel (enronDaniel)", FlowGAS.
- tmplib_base: Appended by a new template for WebUser "HTTP File Server (fileServerHTTP)" with implementing the HTTP File Server in OpenSCADA, currently that is only reading resources with support partiality; and the new templates "Weather (weather)", "Disk SMART (DiskSMART)".
- digAlarm,manInUnif,anUnif,pidUnifImp,anUnifSt,pidUnif,codeState,SNMP,UPS: The NAME IO set to the type "String (translate)" and the DESCR IO to the type "Text (translate)".
- tmplib_LowDevLib: Appended by the template "BT: ATORCH UC96".
- RDTech: Nondouble commands set to send the command twicely for stable applying by the device, postcommand delay set to 0.2 and moved in common.
- tmplib_base.ntf: Expanded by a possibility of specifying messages to exclude from the notification.
- tmplib_DevLib: The library appended by the templates with documenting:
- LibsDB.vcaBase:
- wlb_Main: The library appended by the widget "Weather (weather)" with documenting.
- storeHouse: Expanded by creating the item edition form in the main frame after hiding the main table and other.
- FIX: Prevented of <EVAL> for <NULL> cells in the item report.
- FIX: Guaranteed in filling the report dialogs by generating the opening events from the procedure.
- FIX: Fixed in early setting the vertical position for the data table at changing the user.
- The text fields of the single-item report were cleared from the left margin for texts.
- The reports appended by processing the links as the external ones.
- Expanded by processing ID (index) also as other standard fields "NAME", "DSCR" — to control the field visibility.
- Appended of resetting filters at the page restart or user change.
- The whole-table report appended of limiting cells' text in 30 symbols, that is like to the edition table.
- The item report appended by hiding empty fields.
- Appended of updating the selection context of the form items at change such item value.
- grpGraph: Procedure rewrote for unification to work with different elements, so for use in all derivative frames like to grpGraph10.
- grpGraph10: Switched to inheritance from grpGraph.
- FIX:alarmsSt: Fixed in the alarms_focus variable accessing after removing of forcing the "focus" attribute, which replaced by this.alarms.attr("focus").
- tmplSO: Some cleaned for items of the ResultGraph page.
- ResultGraph: The attribute "grpName" set to the "String (translate)" type.
- ElViewGraph: Appended of reading the default-static properties for clearing to them.
- storeHouse: Expanded by creating the item edition form in the main frame after hiding the main table and other.
- wlb_doc:
- FIX:docRepInstVals: Restored in translation values of title and parameter's dimension, name.
- FIX:docUsersSet: Appended by encoding the value fields also, due to there can be not just digits now.
- wlb_Main: The library appended by the widget "Weather (weather)" with documenting.
- LibsDB.vcaTest: Finished in renaming CPULoad to CPU and MemInfo to MEM.
API
!!!!:Changes:
- SYS: ico() appended by an argument of obtaining the file path.
- strLabEnum() appended by an argument "onlyDec" for enumerating one digit.
- Removed sysClk(), clkCalc(), shrtCnt(), HZ().
- TError: Removed for DB_TrRemoved.
- TMess: labStorRemGenStor() renamed to labStorRem(), labStor() cleaned for arguments.
- TElem: fldList() set to const.
- TFld: TFld(): Type of the argument vals, nSel changed from "const char *" to "const string&". Removed for selValS(), selValI(), selValR(), selValB(), selNm(), selVl2Nm(), selNm2VlS(), selNm2VlI(), selNm2VlR(), selNm2VlB().
- TCfg,TVal: Removed getSEL() and setSEL().
- TCntrNode: isModify() set to constant, save() added by an argument of the maximum error level.
- DAQ: TController::id() set to const.
- Transports:
- TTransportIn,TTransportOut: Moved to the protected section for logLen(), setLogLen(), pushLogMess(). Removed for logItLim(), setLogItLim().
- TTransportOut: Merged for conPrm() and setConPrm() to one conPrm(), also for UserAPI ones. clearConPrm() expanded by an argument of specifying identifier or group of cleaned parameters.
- TTransportIn::associateTrO(): expanded by support the different stages ATrStg_Create, ATrStg_Proc.
Appends:
- SYS: The new definition DB_GEN "<gen>".
- Appended sysClk(), setSysClk() for receiving the CPU frequency from DAQ.System.
- The sysTm() function appended by arguments for detection of time jumps after suspending.
- TMess: The new function labStorFromCode() of names the specific storages.
- TElem: Appended by the function contN() of obtaining for counter of the connected containers.
- DAQ: TVal: Appended by the function setTime() and by a new flag AttrFlg::NoSave for preventing of marking as modified at the attribute change.
- TController: Appended by tbl() for tables of the parameter types.
- UI: User API appended by SYS.UI.mimeGet() of obtaining the MIME type from the file name.
- Transports: The new definition STR_A_PRM "prms", STR_A_PRM_CFGP "CFG:".
- TTransportS: The new functions prm(), cntrCmdPrm() of common processing transport parameters.
- TTransportIn: Appended by the function prm(), conPrm(), clearConPrm(). Appended by the UserAPI function conPrm() and setConPrm() (for compatibility) and in accordance with ones in TTransportOut.
SYS
- Building:
- configure.ac: Core library version risen to 3:14:0 and the program version risen to 0.9.7. The module version of the subsystem "DAQ" risen to 15, "Transports" risen to 20.
- Appended for building to Debian 12 and Ubuntu 24.04 LTS.
- FIX:DB,Transports,DAQ.BFN,UI.VCAEngine: Adapted for checking the TBDS::dataDel() success result to prevent hangs here on RO storages with fixing function TTable::fieldSQLDel() for true checking the function success.
- .,DAQ.{DAQGate,DCON,DiamondBoards,ICP_DAS,LogicLev,ModBus,OPC_UA,Siemens,SoundCard,System},Protocol.{ModBus,OPC_UA},UI.VCAEngine: Simplified significantly in support the selectable types, making that optional and with support the dynamic translation. Allowed also for specifying only list of values.
- .,Archive.DBArch,DAQ.{BFN,JavaLikeCalc,ModBus,OPC_UA},Protocol.UserProtocol,UI.{VCAEngine,Vision,WebUser}: The Generic Storage renamed from "*.*" to "<gen>":
- with naming the specific storages as "Generic Storage" and "Configuration File" everywhere through the new function TMess::labStorFromCode();
- appended by the definition DB_GEN "<gen>", which used everywhere instead "*.*";
- all generic fields like to "Archiver DB" renamed to "Storage";
- TMess::labStorRemGenStor() renamed to TMess::labStorRem() and appended by information about all object storages.
- .,DAQ.{BlockCalc,Comedi,DiamondBoards,FT3,Fastwel,ICP_DAS,SNMP},Protocol.{ModBus,UserProtocol},UI.{VCAEngine,Vision,WebCfg,WebCfgD,WebUser}: std::string::substr() replaced by std::string::find() in places with static obtaining data for comparing, what is clearer, safer and mostly faster for short strings.
- .,UI.{VCAEngine,Vision}: Improved for messaging the warnings at saving.
- TCntrNode::cntrCmd() in processing the primary commands of the Control Interface appended by their generic logging.
- FIX:TCfg::setS() in the variant with RqFlg appended of locking the critical sections at accessing the container TVariant and appended by notification, only on the data stages and without the returning back.
DAQ
- .,*: Moved in the DAQ sources to fix table names of different parameter types and adapted to the unified conception the parameter types, that is the configuration fields are hidden now when their are standard ones and it scheduled to be cleaned in whole in v1.0.
- FIX: TValFunc::get{S,I,R,B}() appended by code of casting the object TVarObj with EVAL/null converting.
- System: Completely refactored and expanded for:
- expanding the CPU DA by CPU information and frequency from different sources, including CPUFreq with the control;
- appending a new DA Power as an interface to Linux Power and DA Process as an interface to Linux processes;
- Sensors>DA appended by support of the directly accessible sensors "/sys/devices/virtual/thermal/*/temp" and /sys/devices/virtual/hwmon/*/temp*;
- unification the DA interface calls DA::init(), DA::deInit(), DA::makeActiveDA() with moving most DA modules to call the unified code and implementing for them only the unified function dList();
- the DA interface class appended by the new signs: isDynamic(), hasSubTypes();
- appending a mode of the data generic updating from the Service Cycle and the Controller DA Task, by the new function updGen();
- ID of the automaticly generated DA parameters changed to: CPU - "CPU[{N}]", fs - "FS{MP}", hddstat - "DiskSt_{dev}", MEM - "MEM", netstat - "Net_{IF}", sensors - "Sensors", hddsmart - "DiskSMART", ups - "UPS", uptime - "UpTm_{U}";
- switched to the soft mode of parameters automatic creation, that is you allowed to create the source parameters automatically, save forcibly need ones and next switch to the manual mode, than preventing continued scanning.
- FIX:DAQGate: Time of the requesting archive increased for 1 (one) microsecond to prevent of spare values requesting and their direct rewriting to the archives.
- Improved in work with remote host without the time sync:
- the values can be in future up to one hour;
- the remote host timestamp everywhere used at the archive presence even in the tag "<vl>";
- appended of detection the remote host time for its display and using in timestamp the changed values.
- Improved in work with remote host without the time sync:
- FIX:LogicLev: Significant improving the Parameter Reflection mode in:
- dynamic creation and removing attributes;
- disabling at the error enabling with missing the source parameter with removing all attributes;
- the selection changed to not editable;
- measuring the processing time.
- OPC_UA: Appended by support the asynchronous writing like to DAQ.ModBus.
- AMRDevs: Adapted in the Kontar part to the new conception of the associated output transports for the input ones.
Archives-History
- FIX: The message archivers are prevented from resetting the buffer position of the last read message since we get doubling the messages at each updating the subsystem, which is often for updation the value archive connections, and especially at missing the resource lock.
- FIX: The Control Interface request "TValue:get:/serv/attr" fixed in expanding to equivalent archivers.
Transports
- Sockets,SSL: Appended for support by the port group in the input transports, that is connection to first free. The input transports appended by a configuration field of properties of the initiative connection and the associated output transports.
- SSL:
- Expanded by support of the initiative connections:
- SSL connection code of TSocketOut::{start,stop}() moved to static ones TSocketOut::{connectSSL,disconnectSSL}() for using in the input transport;
- SSL connection code of TSocketIn::Task() moved to TSocketIn::{start,stop}();
- removed for support the SSL algorithms and versions specifying in the mode due to that removing in the OpenSSL library and that was not used mostly, so there used only TLS_{client,server}_method() for new libraries (> 1.1) and SSLv23_{client,server}_method() for old ones.
- FIX: TSocketOut::messIO() prevented from hang at endlessly reading by BIO_read() after the socket closing, by checking errno for EAGAIN.
- The SSL context moved to the generic module object separately for input (ctxIn) and output (ctxOut) parts and the ciphers information was added for:
- the generic module object by SSL_CTX_get_ciphers();
- input-server transport status for SSL_get_shared_ciphers(), SSL_get_client_ciphers() and SSL_get1_supported_ciphers() or SSL_get_ciphers();
- output-client status for SSL_get1_supported_ciphers() or SSL_get_ciphers().
- The input and output transports appended by control MSS and the input transports appended by control the system input buffer, both taken from Transport.Sockets.
- Expanded by support of the initiative connections:
Transport Protocols
- FIX:SelfSystem: Significantly reviewed and fixed in the external connections implementation, appended by checking limit the header size. Fixed in double request packing of the output transports at second tries of reconnection or reauth.
User Interface
- VCAEngine,Vision,WebVision: Appended by support of data built-in to resource marked attributes, primarily for the source attribute of the Media primitive.
- FIX:Vision: Adapted for obtaining named list of the storages.
- FIX:VCAEngine: Prevented from connection the attribute "focus" of any included widget to the calculation IOs and appended by processing the exceptions of accessing those IOs for missing included widgets. FIX: Attr::setS() improved in the critical section processing.
- FIX:WebVision: Appended of implementation the user fields in the status bar.
1.1.1 Service updates
- the third (4) at 13.11.2024;
- the third (3) at 12.08.2024;
- the second (2) at 26.06.2024;
- the first (1) at 02.06.2024.
1.2 [01.01.7531/01.03.2023] The SIXTH update
This update of the 0.9 LTS release fixes about 70 bugs and appends MANY improvements with several of significant-conceptual ones, which you can read wholly in the update ChangeLog.
Automation Linux distributive of the project OpenSCADA
- updating TDE to 14.0.13 and 14.1.0 — adaption all patches-fixes and for Debian 11 only;
- initial appending the Calendar System from the World Creation at which year 2023 is 7531;
- fixing KDesktop, TDE HW Manager, noatun, TDESVN, basket, KGpg, KPDF, disabling thumbnails for video, than appending the new patched packages "tdelibs-trinity", "tdebase-trinity", "tdegraphics-trinity", "tdesvn-trinity" and "basket-trinity" to the distributive collection;
- some improving and updating KCalc, holiday_ua, korganizer;
- complete translation to Ukrainian for KDiff3 and showfoto;
- packages building with own patches for Debian 11,10,9,8,7 before adaption the release TDE 14.1.0;
- switching the Debian 9 base to the archive repository, after its official archiving;
- appending the Debian 11,10,9 distributives by packages of RHVoice — Speech synthesizer with many voices for ten languages;
- translation the subproject page to Ukrainian.
Main WWW-resources, documentation of the project and subprojects
- completely revised and translated to Ukrainian the "Server and hosting infrastructure of the OpenSCADA project" document;
- fixed for the Site working in WebBrowsers of old embedded devices like to Nokia N900, N9;
- Maemo 5 (Nokia N900) restored with moving to the CSSU-Thumb Toolchain grounded on GCC 4.7.2 from Linaro; and the project page updated;
- completely revised the "API" document in the section "Control Interface and dynamic tree of program objects" and the section "Service commands-functions" moved there as a subsection, the subsection "Service commands-functions" completely rewrote and appended by, and all these translated in Ukrainian;
- started the new subproject Open Phone — PinePhone;
- completely revised and actualised for the "How to Create OpenSCADA module";
- started the new subproject Graphical PLC Programming in OpenSCADA;
- the building scripts of the project Automatic Builder of OpenSCADA completely revised and unified with the subproject document updating and translation to Ukrainian.
New and significantly updated parts
- OpenSCADA Core: 3:12:0 => 3:13:0
- (Productivity optimisation of the VCA interface, Unification the associated output transports to the input one AND the generic output transport connection, Messages Translation — fixes of the conceptual changes of the previous update)
- OpenSCADA "Transport" subsystem: 18 => 19
- DAQ.DAQGate: 2.9 => 2.12
- DAQ.JavaLikeCalc: 5.4 => 5.6
- DAQ.LogicLev: 2.6 => 2.7
- {DAQ,Protocol}.ModBus: 3.4 => 3.7, 2.9 => 2.10
- Archive.FSArch: 3.7 => 3.8
- Transport.Sockets: 4.3 => 4.5
- Protocol.SelfSystem: 1.9 => 1.10
- Protocol.UserProtocol: 1.5 => 1.6
- BD.PostgreSQL: 3.0 => 3.1
- UI.QTStarter: 5.12 => 5.14
- UI.QTCfg: 5.9 => 5.13
- UI.VCAEngine: 7.8 => 7.11
- UI.Vision: 8.0 => 8.6
- UI.WebCfgD: 2.3 => 2.5
- UI.WebVision: 6.6 => 6.8
- LibsDB.OscadaLibs.LowDevLib: 1.4 => 1.5
- mbBase: 1.0 => 1.2
- LibsDB.OscadaLibs.base.initConAssociateTrs: 1.1 => 1.2
- LibsDB.vcaBase.Main
- RootPgSo: 2.5 => 2.6
- storeHouse: 1.1 => 1.3
- {grpGraph,grpGraph10}: 1.4 => 1.5
- grpCadr: 1.2 => 1.3
- ElCadr: 1.2 => 1.4
- ElViewGraph: 1.3 => 1.4
- ResultGraphEl: 1.1 => 1.2
- anShow: 1.2 => 1.3
- anShow1: 1.3 => 1.4
- TextLab: 1.1 => 1.2
- ImgLab: 1.1 => 1.2
- LibsDB.vcaBase.mnEls
- El_Kran_Sh: 1.1 => 1.2
- Compressor: 1.1 => 1.2
- El_Kran_polozh: 1.0 => 1.1
- LibsDB.vcaBase.doc
- docAlarmsRep: 1.6 => 1.7
- docRepDay: 3.1 => 3.2
- docRepMonth: 3.1 => 3.2
- docRepYear: 1.2 => 1.3
- docUsersSet: 1.7 => 1.8
- docDin: 1.2 => 1.3
CONCEPTUAL > Productivity optimisation of the VCA interface
- FXI:UI.VCAEngine:
- Adapted to work in very big processing periods and disabling the periodic processing in whole:
- fixed in obtaining the period from the owner session widget;
- appended by setting the session side period with the User API function calcPer() of the session side widget, expanded by specifying the special period values: PerVal_Sess(0), PerVal_Parent(-1), PerVal_UserMin(PerVal_Dis(-2)), PerVal_SessDef(-3);
- "Period of the calculation" renamed to the "Periodic processing" and the renamed field is specified as a generic parameter, that moved to the main configuration tab and appended by the page widgets of the project and child widget of the library widget;
- the session object appended by the User API function period(), what returns the session processing period;
- the processing period was clarified in the session widget status.
- Change of the attribute "alarmSt" appended by accompaniation the new event "ws_alarmChange".
- Adapted to work in very big processing periods and disabling the periodic processing in whole:
- UI.Vision: Adapted for renaming "Period of the calculation" to the "Periodic processing" and for moving to the main configuration tab. The previous field in the "Processing" tab is set to be hidden at that missing in the VCA model.
- LibsDB.vcaBase,ModelsDB.{AGLKS.vca,Boiler.St}: The VCA projects set to the calculation period 250 ms. Calculation of the control group of the VCA projects set to 1000 ms.
- LibsDB.vcaBase:
- wlb_Main.RootPgSo: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- appended by continuing the immediately cycles before the container page opening at the start and after navigation, using the new event "usr_calc";
- appended by switching to the fast cycle at alarm blink, using the new function calcPer();
- switched to the processing period 1000 ms.
- wlb_Main.ElCadr: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- appended by continuing the immediately cycles using the new event "usr_calc";
- appended by switching to the fast cycle at alarm blink, using the new function calcPer();
- switched to the processing period -1 (parent).
- wlb_Main.{grpGraph,grpGraph10}: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- appended by continuing the immediately cycles using the new event "usr_calc";
- switched to the processing period -1 (parent);
- tracing period of the Diagram primitive linked also to the Widget period.
- wlb_Main.ElViewCadr: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- appended by switching to the fast cycle at cursor blink, using the new function calcPer();
- switched to the processing period -1 (parent);
- tracing period of the Diagram primitive linked also to the Widget period.
- wlb_Main.storeHouse: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- switched to the processing period -2 (disabled);
- appended by continuing the immediately cycles using the new event "usr_calc".
- wlb_Main.ElViewGraph: Adapted to work in very big processing periods:
- appended by continuing the immediately cycles in waiting the values appear, using the new event "usr_calc";
- appended by switching to the fast cycle at cursor blink, using the new function calcPer();
- the calculation set in 2000 ms due to need of that updating at the trend cursor changing.
- wlb_Main.grph_panel: Appended by storing the tracing period of the linked Diagram primitive. Switched to the processing period -1 (parent).
- wlb_Main.{grpCadr,ResultGraphEl}: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- switched to the processing period -1 (parent);
- tracing period of the Diagram primitive linked also to the Widget period.
- wlb_Main.{TextLab,ImgLab},wlb_mnEls.{El_Kran_polozh,El_Kran_Sh,Compressor}: Adapted to work in very big processing periods and disabling the periodic processing in whole:
- appended by switching to the fast cycle at cursor blink, using the new function calcPer();
- switched to the processing period -1 (parent).
- wlb_Main.{anShow,anShow1}: switched to the processing period -1 (parent) and appended by switching to the fast cycle (500 ms) at focus and alarm blink.
- wlb_doc.{docRepDay,docRepMonth}, wlb_Main.{graphSelPrm,doc_panel,accept,treeSelect,cntrPaspExt}, wlb_Main.{ViewCadr,ResultGraph}: Switched to the processing period -1 (parent).
- wlb_doc.{docDin,docAlarmsRep}: Switched to the processing period -2 (disabled).
- wlb_doc.docRepMonth: Excluded from execution at stopping.
- wlb_doc.docRepYear: Appended by one immediately cycle after f_start, using the new event "usr_calc". Disabled for the periodic processing.
- wlb_Main.userManager: Disabled in the periodic processing.
- wlb_Main.RootPgSo: Adapted to work in very big processing periods and disabling the periodic processing in whole:
CONCEPTUAL > Unification the associated output transports to the input one AND the generic output transport connection
- FIX: Unification the associated output transports processing of the input Sockets transport for:
- Transport:
- the function TTransportIn::assTrO() renamed to TTransportIn::associateTrO() and expanded by creation new transports at the first and next removing for stopped ones, and the just created transports appended by reading the initial connection ID with it registering in the connection parameter "initConID";
- the new function TTransportIn::associateTr() and its UserAPI variant SYS.Transport["Modul"]["in_Transp"].associateTr() of obtaining the output transport object at its Connection ID;
- the associated output transports from an input one appended by removing at the inactivity at the TTransportIn::keepAliveTm();
- the new UserAPI function SYS.Transport["Modul"]["in_Transp"].associateTrsList() as a correct naming variant to assTrsList();
- the output transport object appended by the UserAPI functions conPrm() and setConPrm() of accessing the connection parameters;
- changing the name template in "inA_ID_N" of the associated output transports to the input one;
- FIX:Sockets: the input transports prevented at spare socket closing in the initiative mode; the new initiative connection limit checking moved to the main limits checking part.
- LibsDB.OscadaLibs: tmplib_base.initConsAssignTrs: Renamed to initConAssociateTrs and adapted to use the function conPrm("initConID") and associateTrsList().
- Transport:
- The generic output transport connection:
- Transports:
- the new function TTransportS::outAt() and its UserAPI variant SYS.Transport.outAt() of the output transport generic obtaining from the unified address;
- TTransportS::extHost() moved to use TTransportS::outAt().
- Transport,UI.{QTCfg,WebCfgD}: The field "Transport" of the external hosts table expanded for specifying the transport address in the unified-common form and expanded by the selection specifying per item with support such behaviour in the common configurators.
- DAQ.ModBus: The first one what moved to use the unified connection to the output transport.
- LibsDB.OscadaLibs: tmplib_DevLib.mbBase: Switched to use TTransportS::outAt().
- Transports:
CONCEPTUAL > Messages Translation (fixes of the conceptual changes of the previous update)
- FIX:SYS:
- FIX: Prevented from propagating the base language column of the translations table "Tr" in the SINGLE translation mode and the base language.
- FIX: The string EVal value "<EVAL>" appended as not translated one to prevent that translation in VCAEngine for NULL DB values.
- FIX: The static messages translation function improved in omitting empty messages for the binary strings with only zero symbols.
- TFunction::operator=() finished in adaption to the IO name translation.
- Writing to the configuration in XML prevented in doubling the translated field for the configuration contexts.
- FIX:DB:
- FIX: The translation prevented from propagating the base language column in the SINGLE translation mode for already translated DBs, by appending for different detection the translated DBs in whole and the translated column presence.
- FIX: Fixed for the DB syntax error at cleaning the translation fields equal to the base.
- FIX: Fixed in writing untranslated strings, by clearing all translation and writing to base.
- FIX: Prevented in the DBs service termination, as the transactions closing, at some wrong DB presence.
- FIX: The translation setting prevented in setting double messages to the base messages; what completing not translation "<EVAL>".
- FIX: Absence the flag TFld::TransltText means as the translation complete missing for that field.
- FIX: The Translation Manager:
- FIX: prevented in the marked base changing to a human readable form at all, since that used as a key;
- the notification about fixes was moved to pass them for the user through the expanded Control Interface warnings;
- the flag "chkAndFix" split to "chkAndFix" and "chkAndFixMB";
- the translation configuration fields TrPassN, TrChkAndFix, TrChkAndFixMB moved to the dynamic variables due to there is no need of their store;
- the translation mark "<<<Unmatched sources>>>" renamed to "<<<SEVERAL VARIANTS>>>".
- FIX:DAQ::ParamTmpl:
- FIX: Fixed for the IO name edition in the non basic mode of the dynamic translation.
- FIX: Fixed in the flag IO::TransltText processing for strings.
- FIX: The service request "list:/DAQ/{MOD}/{CNTR}/prm_{PRM}[/prm_{PRM}]/%2fserv%2fattr" fixed in the attribute name translation.
- FIX:Transports,UI.{QTCfg,Vision,WebCfgD}: The function TTransportS::extHostList() appended by an argument "lang" to receive translated names of remote hosts.
- FIX:Protocol.ModBus: Fixed-adapted in the IO name dynamic translation.
- FIX:UI:
- FIX:VCAEngine: The dynamic translation of tr() fixed in the translation loss after the translation cache cleaning and placing the spare messages to the project's table "Trs".
- FIX:WebUser: Fixed-adapted for the dynamic translation of the IO names.
OpenSCADA libraries and projects
- FIX:LibsDB.OscadaLibs:
- The library tmplib_LowDevLib appended by the template "BT: RDTech UM24C, UM25C and UM34C (RDTech)".
- The library tmplib_DevLib appended by the template "Slot LTD devices (SLOT)".
- FIX:LibsDB.vcaBase:
- wlb_Main.storeHouse: Significantly expanded by: implementation the procedures support for the logical columns; implementation the report of all visible table and a selected record.
- wlb_Main.RootPgSo: The "Notification: type 2 (TextSpeech) (notify2)" method expanded by the RHVoice support and appended by the builtin syntax highlight for BASH. The "Notification: type 1 (Buzzer) (notify1)" method rewrote for the long samples playback in the background, that is with control the sample playing stop and restarting only in the case. Appended also by the syntax highlight.
- FIX:wlb_doc.docRepDay: Some improved and appended by: the columns grouping in the header, string values direct reading, colors disable in the table at EVAL scale.
- wlb_doc.docUsersSet: Added by the "Message category (messCat)" configuration.
API
!!!!:Changes:
- SYS,UI.{QTCfg,WebCfgD}: The Control Requests code TError::Core_CntrWarning expanded for the warning messages pass in the attribute "mtxt" with the main data storing.
- SYS:
- The functions TSYS::id(), TSYS::name() and TSYS::user() were set as constant.
- The definitions SEC_XT, SEC_WR, SEC_RD moved from the file tsecurity.h to tcntrnode.h and used there also.
- ctrChkNode() cleaned for the argument "warn" due to the response attribute "force" is deprecated.
- The Control Interface request "chlds:/{nPath}/%2fobj" appended by not creating the empty icon tags "ico".
- NSTR_BUF_LEN(50) split to CFG_A_LEN (100) for using in the maximum attribute size of the configuration cell in XML.
- The argument "init" removed from setIcoDir(), setDocDir(), setLang() during moving under the generic clearing mechanism.
- Appending the enumeration MdfSYSFlds by the fields: MDF_Name, MDF_MESS, MDF_TR, MDF_DBG, MDF_RD.
- The TSYS::ShieldSimb encoding of the function TSYS::strEncode() renamed to TSYS::ShieldSymb, moved to the function TSYS::strDecode() and in TSYS::strEncode() appended by the common one. And the UserAPI function SYS.strDecode() appended by the decoding method "ShieldSymb".
- DB: The Control Interface request "call:/BD/{MOD}/{DB}/%2fserv%2fSQL" appended by processing the "intoTrans" attribute as EVAL at missing and clearing the request text in the response.
- DAQ::Value: The service request "get:/serv/attr" of the Control Interface prevented from clearing the "el" subtags at missing the representing attribute, them value is set to EVAL for true mark that as processed in DAQ.DAQGate and don't continue them request in each cycle.
- Archives-History: The value archive link type "Passive param. attribute (TVArchive::PassiveAttr)" renamed to "DAQ attribute (TVArchive::DAQAttr)". The value archive link type "Active param. attribute" renamed to "Active DAQ attribute" with that mark as DEPRECATED.
- Transports: The function TTransportIn::assTrO() renamed to TTransportIn::associateTrO(). The TTransportOut::isNetwork() virtual function sign moved to the TTypeTransport object with linking the old one to new one, for marking all module as the network one.
- UI.VCAEngine: The Control Interface request "get:/UI/VCAEngine/%2fserv%2fwlbBr" appended by not creating the empty icon tags "ico". The request "connect:/serv/sess" appended by the attribute "onlyMy" for connection only to own sessions, and the request "get:/ses/ses" appended by the same attribute for listing only own ones.
Appends:
- SYS:
- The new function TSYS::ico() of the icon obtaining.
- Names of the security standard permissions appended by _W_W_W(0222).
- TError: expanded by new constructors with the "const string &" type arguments for no limiting strings and the convenience.
- TRegExp:
- Appended by a new option 'U' (ungreedy) of the greedy mode toggle, together the User API method "ungreedy".
- Appended by the function mode(), the argument "mode" in setPattern() and the enumeration "Mode" with the items: MD_8, MD_16, MD_32, MD_WCHAR, MD_SAVE.
- The search() function of the object appended by an argument "length" of the measured block size return.
- XMLNode: The loading flags appended by the no flag item LD_NO.
- TMess: Appended by the common label labStdOutTrs() for address format of the unified output transport function.
- DAQ:
- The DAQ item linking functions expanded by the base node specifying in the attribute "ndBase", for: ctrListPrmAttr(), daqAt(), prmAt(), attrAt().
- The object TPrmTempl::Impl appended by the new function archAttrs() of updating-archiving attributes of the LogicalLevel.
- Archives-History: The value archive object TVArchive appended by declaration the enumeration ServReqDtMode for the Control Interface request "get:/Archive/va_{ARCH}/%2fserv%2fval".
- Transports:
- The new function TTransportIn::associateTr() and its UserAPI variant SYS.Transport["Modul"]["in_Transp"].associateTr().
- The new function TTransportS::outAt() and its UserAPI variant SYS.Transport.outAt().
- The new UserAPI function SYS.Transport["Modul"]["in_Transp"].associateTrsList() as a correct naming variant to assTrsList().
- The output transport object appended by the UserAPI functions conPrm() and setConPrm() of accessing the connection parameters.
- The function TTransportS::extHostList() appended by an argument "lang" to receive translated names of remote hosts.
- The "in_" and "out_" prefix moved to the definitions STR_IN_PREF and STR_OUT_PREF respectively.
- The TTransportS object appended by the enumeration LogType with the items: LTP_BinaryText, LTP_Binary, LTP_Text.
- UI.VCAEngine:
- Appended by setting the session side period with the User API function calcPer() of the session side widget, expanded by specifying the special values: PerVal_Sess(0), PerVal_Parent(-1), PerVal_UserMin(PerVal_Dis(-2)), PerVal_SessDef(-3).
- The session object appended by the User API function period(), returning the session periodic processing.
- The attribute "alarmSt" change appended by accompaniation by the new event "ws_alarmChange".
SYS
- FIX:Building:
- FIX:configure.ac: Core library version risen to 3:13:0 and the program version risen to 0.9.6. The module version of the subsystem "Transport" risen to 19.
- FIX:Debian: Improving and fixing the DEB-packages signing for all repositories.
- *: Most close(), iconv_close(), dlclose(), pclose() functions appended by checking the result and warning at problems.
- *: All system (SYS) configuration parameters adapted for true handling the default value.
- .,DAQ.JavaLikeCalc: Getting help from the second line for the Control Interface appended in: description of the element fields (TFld) with DAQ-values; name of function IOs (TFunction) with links and attributes builder of the DAQ Logical Level.
- FIX: Rewrote the function TCntrNode::nodeAt() to prevent of call the virtual chldAt() under the lock mChM, so preventing some dead locks in the virtual definitions of chldAt().
- Revised for all templates in the folders =Tmpl=.
- FIX: The tab "Station" of the main page of the OpenSCADA Control Interface appended by the system time information and commonly restructured.
- FIX:data/openscada-proj.in:
- Expanded by the new environment variable OSCD_TAR_Args of defining extra tar arguments like to --exclude and it was set to the default value "--exclude=lock --exclude=ARCHIVES".
- FIX: Fixed in description and using the environment variables OSCD_TAR_ComprPrg and OSCD_BackLim.
- During unification the common project icon obtaining through using the project name and ID there performed:
- the Base Language Name used also for obtaining the icon, so now checked: The Translated Name, the Base Language Name, ID;
- the icon obtaining mechanism moved in a new separated function TSYS::ico().
- TRegExp: Appended by the 16 and 32 modes support by the pcre16 and pcre32 libraries respectively and only for the search() function currently.
DB
- FIX:.,PostgreSQL: Processing the table emptiness some softened during problems in DB.PostgreSQL about that, that is no exception generated now.
- FIX:PostgreSQL: Switched to the standard way of detection the missing Tables with them creation at "toCreate" and the exceptions generating else, so preventing the message "Table is empty.".
DAQ
- The Logical Level linking appended by a form of the address representing as the prefixed path "prm:/node/node", so with support of the relative addressing at "." and "..":
- the DAQ item linking functions expanded by the base node specifying in the attribute "ndBase", for: ctrListPrmAttr(), daqAt(), prmAt(), attrAt();
- the implementation object TPrmTempl::Impl of the Logical Level of the DAQ-template expanded for the new linking support.
- FIX: Setting the LogicalLevel links prevented from cleaning all the string after the space at the link constants "val:".
- ModBus: Appended by the option "e" for the register endian switch to LE for generic and BE for strings. The string extension of the registers appended by the input charset conversion. Appended by the parameter "Omit cycles for read back of written" for control such feature apart from the asynchronous writing.
- FIX:DAQGate:
- FIX: The message categories in catsPat() of obtaining the data source messages of the Controller Object switched to generate own detailed rules of the regular expression from the specified remote controllers — to prevent very redundant messages obtaining.
- FIX: Improved-fixed in the Controller Alarm status formation for multiple stations, when ALARM it is at missing connection of all stations.
- The sync() function of the controller object rewrote completely in the "Removing remotely missed parameters" section for:
- processing the parameter's representing stations: removing completely for missing stations and parameters with no station;
- removing disabled parameters and the logical containers at the flag "Allow the automatic removal of parameters and attributes".
- The function TMdContr::messSet() of the DAQ related messages setting adapted to support attributes in the parameter address for significant attributes of the generic-container parameters, that is needed for the messages transmission from the up stations to the down ones.
- JavaLikeCalc: Expansion-finishing the object's cycle implementation "for({var} in {obj}) {body of the loop}" by the possibility of pointing as the Object <obj> of the included ones through the properties or from the results. The constant values appended by "null" as a synonym to EVAL (EVAL_REAL).
- OPC_UA: Finished in the writing support through custom flags of the Standard mode and the type obtaining from IO for the Logical mode.
Archives-History
- .,DAQ.{LogicLev,ModBus,OPC_UA}: Finished the unification of archiving at the Logical Level sources when used only the direct-passive archiving:
- the object TPrmTempl::Impl appended by the new function archAttrs() of updating-archiving attributes of the LogicalLevel;
- the value archive link type "Passive param. attribute (TVArchive::PassiveAttr)" renamed to "DAQ attribute (TVArchive::DAQAttr)";
- the value archive link type "Active param. attribute" renamed to "Active DAQ attribute" with that mark as DEPRECATED.
- The "Messages" tab appended by a function of automatic clearing old Alarms from the Active Alarms Table at the specified days depth.
- FIX:FSArch:
- FIX: Prevented for access to files[iA] in ModVArchEl::setValsProc() outside the lock using the read-lock switching.
- FIX: Prevented for access to "files" in ModMArch::checkArchivator() outside the lock.
- FIX: Files accessing locks completely revised for including the packing/unpacking, new files creation, removing old ones under the WR lock space including also the conditions checking. Also removed for the relocks in cycles and at indexes.
Transports
- FIX: The output transports appended by the force stopping at the object system disable-disconnection, not in destructors what is late then there can be lost the socket handlers.
- The IO log of the transports appended by the data modes "Binary & Text", "Binary", "Text", and by it writing to a file for very big ones at pointing the log size -1.
- FIX:Sockets: Fixed in processing the not complete writing for the Input part, when the message cuts on the TCP transmitter buffer size. The input buffer size of the Input part bound to the hardware receiver buffer size control and the internal one just frozen to the standard string buffer length since that is not critical and need no control.
Transport Protocols
- FIX:SelfSystem: Significantly reviewed and fixed in the external-output connections implementation, appended by checking limit the header size.
- ModBus: Appended by the option "e" for the register endian switch to LE for generic and BE for strings.
- HTTP: Appended by the HTTP Attributes of disabling the WEBBrowser Cache in whole: "Cache-Control: no-cache, no-store, must-revalidate", "Pragma: no-cache", "Expires: 0".
- UserProtocol: The input part expanded by a possibility of schedule the user procedures call in the service cycle, for the background processing of some data; the Object's attribute "This (this)" was appended here also.
User Interface
- QTStarter,QTCfg,Vision: The common Syntax Highlighter in SnthHgl::rule() switched to the main work using PCRE in TRegExp, since that is 5 TIMES FASTER and very richer comparing to QRegExp; and QRegExp left to be automatically enabled at missing the PCRE 32/16 libraries. The Qt-generic library (lib_qtgen) appended by the static-external functions getFont() and getColor() from UI.Vision and by the object SnthHgl from UI.Vision and UI.QTCfg.
- QTCfg,WebCfgD: Unified in notification the errors of the Control Interface during improvement the code TError::Core_CntrWarning and QMessageBox appended of the detailed text at the message longer for 255.
- QTStarter: Appended by the display sessions control, that is the sessions restore.
- QTCfg: Appended by the Favorite pages implementation. The image element appended by a function of clearing the image completely.
- FIX:Vision:
- FIX: All control requests "<info>" appended by checking the child nodes presence to prevent crashes in some cases.
- Appended by the possibility of call remote station interfaces by selecting the remote station in a dialog, for what the user selection dialog was expanded.
- The text areas with the syntax highlighting appended by the builtin variant.
- The image elements (icons) of the item dialogs appended by a button menu with the functions: Save, Load, Clear.
- The Widget Attributes edition table appended by the multiline edition for the "Name" column and the context help loading for that.
- The popup menu of the project, the project pages, the widget libraries and the library widgets in appending widgets from the libraries removed for limit of the libraries here in 20 items by moving all them to a new separated menu item "... from the Library".
- FIX:VCAEngine:
- Icons of the projects and the widget libraries switched to download the common project icon at missing local.
- The widget libraries adapted to interhost copying.
- FIX: The Document primitive generation appended by limiting the repeating blocks size in limUserFile_SZ (10MB).
- FIX: Fixed in the correct treating of the project pages and the library widgets with initially wrong parent addresses, for don't remove child widgets and change them parent at pointing the correct parent address.
- FIX:WebVision:
- Appended by the export implementation for the "Document - HTML,CSV" and "Table CSV".
- Appended by the printing implementation for the "Document" and "Main Page".
- The type Table of the primitive FormEl added by tearing off the table header at big tables scrolling down.
- FIX: The type Table of the primitive FormEl improved and fixed for:
- setting the CSS property "white-space" to "pre-wrap";
- setting the color changes under the selected cells;
- preventing the focus loss just after entry to the cell editing;
- fixing the boolean value setting at entry to the cell editing;
- the table refitting at growing the column string length.
- The included pages closing set after several (4) row appears — to prevent of closing all pages at fast navigation;
- Improved in processing the connections of the ordinal users to own VCA-sessions.
- WebUser: Expanded by a possibility of schedule the user procedures call in the service cycle, for the background processing of some data.
1.2.1 Service updates
- the fourth (4) at 20.12.2023.
- the third (3) at 13.09.2023.
- the second (2) at 12.08.2023.
- the first (1) at 25.06.2023.
1.3 [22.12.7529/22.02.2022] The FIFTH update
This update of the 0.9 LTS release fixes about 50 bugs and appends MANY improvements with several of significant-conceptual ones, which you can read wholly in the update ChangeLog.
Significant actions of the developer of the OpenSCADA modules on the update
- FIX:SYS.TMess: Type of labStor(), labSecCRON(), labSecCRONsel(), labTaskPrior(), labMessCat() changed to "string".
- => obligatory revise of using the label functions since the compiler mayn't to say an error in functions like to printf(), TSYS::strMess() but that module will be crashed.
Automation Linux distributive of the project OpenSCADA
- appending Debian 11 as the distributive base;
- moving of building the Debian 10,9 base to the Debian 11 environment, then expanding the installer variants;
- updating TDE to 14.0.11 and next 14.0.12;
- fixing the plymouth problems, then the installations are safe now and "/var/boot.log" doesn't grow;
- fixing Digikam, TDEPim, KArm and kdiff3, than appending the new patched packages "tdepim-trinity", "digikam-trinity" and kdiff3-trinity to the distributive collection.
Main WWW-resources of the project — Site
- significant changes in the Site common interface:
- the Wiki-pages call in IFRAME appended for a waiting screen and an animated image of representing the loading wait; the opened pages vertical size was precisely fitted also at three attempts;
- the content window horizontal size limited in 1000 pixels;
- moving the vertical submenu of the main menu from the static left position to the call at an options button on the left of the main menu;
- moving to the top right for the service panel with buttons of the language select, call the print variant and the Google-search field;
- dividing twice the top logo image;
- the Google-search field: width expanding, moving up and hide under a search icon.
- changing the registration conditions and rules on the OpenSCADA site;
- the registration module finished in the translation to Ukrainian and enabled for acknowledge the new users registration by the site administrator.
New and significantly updated parts
- OpenSCADA Core: 3:11:0 => 3:12:0
- (Common Conception of the Data Storage, Messages Translation, Message Sublevels {Main}[0...9] and Unification for the User Messages Transferring)
- OpenSCADA "BD", "DAQ" subsystems: 14 => 15, 13 => 14
- DAQ.DAQGate: 2.5 => 2.9
- DAQ.JavaLikeCalc: 5.1 => 5.4
- DAQ.Siemens: 4.2 => 4.4
- {DAQ,Protocol}.ModBus: 3.3 => 3.4, 2.8 => 2.9
- {DAQ,Protocol}.OPC_UA: 2.5 => 2.6, 2.1 => 2.2
- Archive.FSArch: 3.6 => 3.7
- Archive.DBArch: 3.0 => 3.1
- Transport.SSL: 3.3 => 3.4
- Protocol.HTTP: 3.6 => 3.8
- Protocol.UserProtocol: 1.4 => 1.5
- BD.DBGate: 1.0 => 1.1
- BD.SQLite: 3.0 => 4.0
- BD.MySQL: 3.5 => 4.0
- BD.PostgreSQL: 2.5 => 3.0
- BD.FireBird: 2.5 => 3.0
- UI.QTStarter: 5.10 => 5.12
- UI.QTCfg: 5.6 => 5.9
- UI.WebCfg: 1.8 => 2.0
- UI.WebCfgD: 2.1 => 2.3
- UI.VCAEngine: 7.1 => 7.8
- (finishing of implementing the changes obtaining in the runtime mode by the clocking cycles through)
- UI.Vision: 7.14 => 8.0
- UI.WebUser: 1.4 => 1.5
- UI.WebVision: 6.2 => 6.6
- LibsDB.OscadaLibs.base.anUnif: 2.1 => 2.4
- LibsDB.OscadaLibs.base.anUnifSt: 1.2 => 1.3
- LibsDB.OscadaLibs.base.digAlarm: 1.2 => 1.3
- LibsDB.OscadaLibs.base.codeState: 1.3 => 1.4
- LibsDB.OscadaLibs.servProc.docOffLine: 1.2 => 1.3
- LibsDB.OscadaLibs.Controller.test: 1.1 => 1.2
- LibsDB.vcaBase.Main
- alarmsAct: 1.1 => 1.3
- alarmsSt: 1.2 => 1.4
- RootPgSo: 2.4 => 2.5
- ElCadr: 1.1 => 1.2
- TextLab,ImgLab: 1.0 => 1.1
- graphSelPrm: 1.4 => 1.5
- objProps: 1.1 => 1.2
- cntrRegul: 1.1 => 1.2
- storeHouse: 1.0 => 1.1
- LibsDB.vcaBase.mnEls.El_Kran_Sh,Compressor: 1.0 => 1.1
- LibsDB.vcaBase.doc
- docAlarmsRep: 1.5 => 1.6
- docUsersSet: 1.5 => 1.7
CONCEPTUAL > Common Conception of the Data Storage
- the Conception is commonly unified in the direct storage specification and definition the Generic Storage "*.*" as a combination of the Configuration File and the work Data Base, when the Configuration File is the priority one for accessing the allowed data and the work Data Base for new data.
- TBDS::{dataSeek,dataGet,dataSet,dataDel,genDBGet,genDBSet}() moved to the bit flags TBDS::ReqGenFlg;
- the TBDS::dbList() moved to the bit flags TBDS::DBLsFlg;
- TCntrNode appended of the functions storage() and setStorage() for tracking the availability of node data in different storages and offer a queue of the storages for the mechanism of sequentially removing duplicates, and they also used in the object functions DB(), fullDB(), setDB();
- the objects are adapted for tracking the multiple storages and are appended of the sequentially removing duplicates: Security.{User,Group}, Transport.{Input,Output}, DAQ.{Controller,TemplateLib}, Archives.{VArchive,VArchiver,MArchiver}, DAQ.JavaLikeCalc.Lib, Protocol.{ModBus,OPC_UA,UserProtocol}.*, UI.WebUser.Page, UI.{VCAEngine,Vision}.{WdgLib,Proj};
- the generic parameters accessing functions TBDS::genDBGet() and TBDS::genPrmSet() moved under the new storage conception using TBDS::dataGet() and TBDS::dataSet() respectively, and renamed to genPrmGet() and genPrmSet() everywhere;
- the objects moved to use the new function dataDelTbl(): DAQ.{TController,TPrmTmplLib,JavaLikeCalc,LogicLev,BlockCalc,ModBus,Siemens,OPC_UA}, Archive.DBArch, UI.{VCAEngine,Vision}.{WdgLib,Proj};
- the functions moved and used everywhere as static ones: TBDS::{dbList,dataSeek,dataGet,dataSet,dataDel,dataDelTbl}();
- the spare storage addresses with tables were shortened to the standard storage address with the table name unification, where the previous not standard names leave to be edited up to the 1.0 release, for the objects: SYS, DAQ.{TemplateLib,JavaLikeCalc.Lib}, UI.{VCAEngine,Vision}.{WdgLib,Proj};
- switched to select only DBs: Archive.DBArch, Protocol.HTTP;
- the root object of the DB subsystem TTypeBD appended of the DB priority base [0...9] in the generic storages list and the Data Base object TBD appended of the configuration field "Priority in list" to control order of the databases from TBDS::dbList(), than control the loading order;
- the "Work DB" configuration field changing disabled on the modification marking of all nodes;
CONFIGURATION FILE
- the configuration parameters and tables implementing in the common context of the TBDS::data{Seek,Get,Set}() functions;
REFACTORING THE TCntrNode FLAGS
- TCntrNode::{chldDel,nodeDis}() moved to direct use the new TCntrNode::EnDisFlag;
- the flags TCntrNode::{NodeRemove,NodeRemoveOnlyStor} used everywhere of the function postDisable() checking and chldDel() call.
CONCEPTUAL > Significant Unification the Common SQL-code in the OpenSCADA Core
- unification the table structure control by the structure item object TTable::TStrIt;
- refactored, initially on SQLite, in the request lists form in the separate list variables;
- common SQL-code moving to the functions: fieldSQLSeek(), fieldSQLGet(), fieldSQLSet(), fieldSQLDel();
- declaration in the core for the service definitions, methods and functions to the common SQL-code: SEEK_PRELOAD_LIM, tblStrct, seekSess, connRes, fieldFix(), getSQLVal(), setSQLVal();
- the fieldFix() appended an argument "langLs" of specifiyng need languages instead the argument "trPresent";
- propagating in such way of the last MULTILANGUAGE support code in DB.SQLite.
CONCEPTUAL > Messages Translation
TFunction::IO object appended the flag IO::TransltText of marking the translate String IO directly:
- the types "String (translate)" and "Text (translate)" appended in: template object of DAQ-Parameter, TFunction object of DAQ.JavaLikeCalc, UI-Attributes of UI.VCAEngine;
- the flag TFld::TransltText used in: value getting of TValue of DAQ-Atributes, DAQ-Attributes translation of DAQ.{LogicLev,ModBus,OPC_UA,Siemens}, UI-Attributes translation of UI.VCAEngine;
- set to the type "String (translate)" for: the field "colDscrCustNames" of wlb_Main.{alarmsAct,alarmsSt}.
Expanding by the language for the execution environment of the user functions of the OpenSCADA object, for functions like to strftime():
- the object TCntrNodeObj, the function TCntrNode::objFuncCall() and TConfig::objFunc() expanded in the argument "user" renaming to "user_lang" with pointing language in the second line;
- DAQ.JavaLikeCalc: the TCntrNodeObj execution appended of the language;
- SYS.strftime() appended of execution from the pointed language-locale.
TUIS,UI.{QTCfg,Vision}: docGet() expanded by the language in the second line.
FIX: The "Translations" tab expansion and fixing for:
- the option "check for mismatch (TrChkUnMatch)" renamed to "check/fix (TrChkAndFix)" and expanded of the translation fixing functions: by propagation the translations to empty sources, clearing the double to base translations, merging the base messages as the translations;
- information of the non matching was appended in the second message text;
- the translation management table appended of the user functions "Split item" and "Remove from Trs";
- the translation status appended of the short labels "SINGLELANGUAGE", "MULTILANGUAGE", "MULTILANGUAGE-DYNAMIC"; the message index; size of the cache and the translation context;
- the base language configuration field of the MULTILANGUAGE modes expanded by list the project locales separated by ";".
FIX: Expansion the Data Messages Translation in the tree modes: SINGLELANGUAGE, MULTILANGUAGE and MULTILANGUAGE-DYNAMIC:
- the user language obtaining unified in the function lang2Code(), expanded by the arguments "user" and "onlyUser";
- the lang2CodeBase() function separated to the common one langBase() and appended the function langToLocale() of obtaining the complete locale at language from langBase();
- the language field of the objects TSYS, TUser appended of the selection list from langBase();
- FIX: the TMess::mRes lock renamed to TMess::trMessIdxRes and limited in use only for TMess::trMessIdx;
- the translation cache significant extending and unification:
- in the new TMess object's functions translCacheGet(), translCacheSet(), translCacheLimits() and the own lock trMessCacheRes;
- extended by the message category for caching the system translations and users;
- the cache limiting also appended by the time limit variable "limCacheIts_TM" for what it checked in the service task.
- appended for the translation context at the new function TMess::trCtx() and the object TrCtxAlloc for handling the context registration as user and language bound to the call thread:
- TCntrNode::cntrCmd(), Protocol.HTTP, UI.{Vision,WebVision,WebUser,WebCfg,WebCfgD} attached to use the translation context.
- synchronized in the system prestored and the dynamic-data setting messages;
- the DB type-module objects were appended by the specific information field "Features" of specifying the supported by DB features;
- FIX: complete disabling the translation and registering in the message index at the loading for generic TConfig nodes with the JavaLikeCalc procedure text and a deprecated flag of enabling that procedure whole translation;
- UI.QTCfg: the tree update enabled for the root page updation through the reconnection and the tree update at the user change; enabled for using the system language in the SINGLETRANSLATION mode for remote connections;
- FIX:UI.VCAEngine: the project styles moved under a new storing table "{DB_TBL}_stls" and its structure with translation;
- UI.{WebCfg,WebCfgD}: Generically adapted to the dynamic translation in the MULTILANGUAGE-DYNAMIC mode, using the HTTP-variable "lang", the user language and browser language;
- the How to "Create multi language project" document was created.
- PRIMARY PROJECT OBJECTS
- implemented for the base message and its translations mark as fuzzy - "<!>" in the text end at changing, and warning the translation removing;
- accessing the dynamic translation moved under the new functions trD()->TMess::translGet() and trDSet()->TMess::translSet(): TArchives,TDAQ,TTypeDAQ,TController,TParamContr,TFunction,TPrmTmpl,TTransports,DAQ.{BlockCalc,JavaLikeCalc};
- appended in the dynamic translation for:
- DAQ-attributes name-description postranslation after the system translation and translation in the context help;
- DAQ-attributes translation in the UserAPI functions: get(), set(), descr();
- DAQ.JavaLikeCalc: names setting part of the execution form moved to itself;
- Protocol;{ModBus,OPC_UA,UserProtocol},UI.{VCAEngine,WebUser}.
- adapted commonly to the new changing conception in the MULTILANGUAGE-DYNAMIC mode through "{base}\000{lang}\000{mess}";
- appended and used for a new function translIdxCacheUpd() of updating the operative translation messages' index and cache in the MULTILANGUAGE-DYNAMIC mode for the SET command;
- appended of the translation copy in the SQL INSERT command and for the MULTILANGUAGE-DYNAMIC mode;
- the configuration file appended of the MULTILANGUAGE-DYNAMIC mode support.
- INDIVIDUAL MESSAGES - "Trs"
- UI.VCAEngine: appended of changing the storage just after the widget procedure compile for placing of the dynamic messages translation to the project storage;
- the transitive dynamic translation prevented in appending the table "Trs" for messages available in other sources, so checking the message index before;
- appended for filtering the messages for they translatability before registering.
- LibsDB.vcaBase:
- wlb_Main.ElViewGraph: enabled for the transitive translation in the tooltip and for the parameter description;
- wlb_Main.objProps: enabled for the transitive dynamic translation;
- wlb_Main.storeHouse: significantly expanded for the specific fields, ordering the columns, appending of the highlighting rules for column values with filter index or list, fixed in whole work.
- SYSTEM MESSAGES
- implemented for a function of prestoring system messages translation trS(), where the base message just return with the catalogue information, that is "{base}\000{cat}" and what is translated really in the call _() — in the background there is used Mess->I18N(), but for the specific language code mess_PreSave="<PSV>";
- the system translation function TMess::I18N() was attached to the messages cache;
- the TFld and IO objects expanded in work with the prestoring system messages;
- module info fields adapted to the MULTILANGUAGE-DYNAMIC mode;
- adaption to the postranslation for the User API function TConfig::cfg() in the translatable strings;
- UI.{QTCfg,Vision}: adapted to the control items obtain in language of the user and update the main window interface language at it change;
- UI.Vision: appended in updation the toolbars at the user change, what also adapted for the dynamic translation; all development dialogs adapted for the dynamic translation.
- UI.{QTStarter,QTCfg,Vision}: appended for the system Qt-messages translation relating to the selected user language, through the common application property "lang" for the Qt-translation reimplemented function QTranslator::translate(), and then the language commonly switched by the last interface and for all opened; the Starter Menu set for dynamic translation and updating.
CONCEPTUAL > Message Sublevels {Main}[0...9] and Unification for the User Messages Transferring
- generic adaption to sublevels {Main}[0...9] of the main message levels [0...7];
- DAQ,DAQ.DAQGate: the function TController::messSet() appended of the messages transferring from the top to the down, so sinking down, making the function virtual one and redefine that in DAQGate, and defining also the new OpenSCADA control service request of the TController object "set:/serv/mess";
- DAQ: specified for the DAQ-transparency messages in the category form "{TP}{ModId}:{CntrId}[.{prm}][:{spec}]", appended of such messages creation function TController::messSet() and the User API functions SYS.DAQ["Modul"]["Controller"].messSet(), SYS.DAQ["Modul"]["Controller"]["Parameter"].messSet();
- LibsDB.vcaBase:
- wlb_Main.{ElCadr,TextLab,ImgLab,cntrRegul},mnEls.{El_Kran_Sh,Compressor}: adapted for the user action messages forming by the new DAQ-function messSet() with the unified category structure for transferring between OpenSCADA stations of different levels;
- wlb_Main.{alarmsAct,alarmsSt}: adapted to process of sublevels of the main levels with coloring all the levels; expanded by the new user field "Type" as name of the alarm level from the new configuration attribute "types";
- wlb_doc.{docUsersSet,docAlarmsRep}: appended in the DAQGate source complete scanning for whole transferring hierarchy;
- wlb_Main.alarmsSt,wlb_doc.{docMessRep,docAlarmsRep}: adapted to the transferred messages by DAQGate;
- wlb_Main.{alarmsSt,alarmsAct},wlb_doc.docMessRep: improved in the DAQGate source complete scanning for whole transferring hierarchy, also for user actions (OP);
- wlb_Main.TextLab: optionally enabled for the transitive translation in the status text which often comes from some DAQ-source.
OpenSCADA libraries and projects
- FIX:LibsDB.{OscadaLibs,vcaBase,vcaTest},{AGLKS,Boiler}.*: Appended, cleaned and fixed for the multilanguage messages by applying the new translation fixing mechanisms.
- LibsDB.vcaBase,AGLKS.vca,Boiler.St: All project styles moved under a new storing table and its structure with translation.
- FIX:LibsDB.vcaBase:
- FIX:wlb_Main.{alarmsAct,alarmsSt}: The default sorting at the field of the alarm time set back to "1" as not default descending order. wlb_Main.alarmsAct: Appended for the field "messCat" of specifying the alarm categories.
- wlb_Main.{ElViewGraph,graphSelPrm}: Adapted to reset the trend item color to the default styled at setting that to empty; appended of the empty color processing as the default one also taken from the style.
- FIX:wlb_Main.RootPgSo: Appended of complete updating at the user change, but language also can be changed, and the language.
- LibsDB.OscadaLibs: The "DB" field content and the table base ID of UserFuncLibs.{techApp,servProc,Controller} renamed to the standard one "flb_techApp", "flb_servProc", "flb_Controller" respectively.
- tmplib_base.{anUnif,anUnifSt,digAlarm,codeState}: Adapted to the syntax highlight builtin of the input preprocessing procedure.
- tmplib_base.digAlarm: Expanded in the common attribute DESCR using for the specific parameters redefinition by the new fields "CustomFlds".
- tmplib_base.anUnif: Expanded in the common attribute DESCR using for the specific parameters redefinition by the new fields "CustomFlds" and "CustomAlarms". Appended of the user procedure option "toSave" of force saving the object at the exit.
- flb_servProc.docOffLine: Expanded for the index page accessing from any other pages.
API
!!!!:Changes:
- SYS: TCntrNode::{chldDel,nodeDis}() moved to direct use the new TCntrNode::EnDisFlag: NodeNoFlg, NodeRemove, NodeRemoveOnlyStor; and the space after > 0x100(TCntrNode::NodeSpecific) was reserved for the node specific, where the TParamContr::EnDisFlag set only to NodeRemove_NoArch and Widget::EnDisFlag set only to Widget::{NodeRemove_NoDelMark,NoContainer}. TCntrNode::Flag items renamed SelfModify->Modified, SelfModifyS->ModifiedS, SelfSaveForceOnChild->SaveForceOnChild.
- Storage object's functions DB(), fullDB() and setDB() expanded of the argument "qTop".
- The subsystem name moved to the function subName() call and which set "virtual" and "constant", also as subVer() and subId().
- The description field type of the TFld object and the name field of the IO object changed to "string".
- Result of TCntrNode::nodeNameSYSM() changed to "string".
- TMess: The lang2CodeBase() function separated to the common one langBase() and appended the function langToLocale() of obtaining the complete locale at language from langBase().
- The function lang2Code() expanded by the arguments "user" and "onlyUser".
- I18N() changed in the arguments for "const string &mess" the first and mLang moved to the second, it result changed to "string", also for TModule::I18N(), and updated all definitions _().
- The data translation functions (short definitions) renamed to trD_L(), trD_U(), trD_LU(), trDSet_L(), trDSet_U(), trDSet_LU().
- Removed for I18Ns().
- labStorGen() merged to labStor() and that labels labStor(), labSecCRON(), labSecCRONsel(), labTaskPrior(), labMessCat() type changed to "string"; appended of the label labStorGen().
- lang2Code() and lang2CodeBase() renamed to langCode() and langCodeBase() respectively for starting the adaption to the language code more than 2 symbols.
- Security: The static method "pHashMagic" moved to the definition SEC_HASH_MAGIC.
- DB: The functions TBDS::{open,close}() renamed to TBDS::{tblOpen,tblClose}() and set to static ones.
- TBDS::{dataSeek,dataGet,dataSet,dataDel,genDBGet,genDBSet}() moved to the bit flags TBDS::ReqGenFlg (renamed from TBDS::ReqGen): NoFlg, NoException, OnlyCfg, UseTranslation (renamed from ReqGen::UseTranslation), UseCache, UseAllKeys.
- TBDS::dbList() moved to the bit flags TBDS::DBLsFlg: LsNoFlg, LsCheckSel, LsInclGenFirst.
- The functions moved as static ones: TBDS::{dbList,dataSeek,dataGet,dataSet,dataDel,dataDelTbl}(), TBDS::{fullDBSYS,fullDB}().
- The generic parameters accessing functions TBDS::genDBGet() and TBDS::genPrmSet() renamed to genPrmGet() and genPrmSet() everywhere.
- DAQ: TTypeDAQ::compileFuncSynthHighl() renamed to TTypeDAQ::compileFuncSnthHgl() in a way of the name unification.
- Archives-History: Definitions of the archive specific names renamed for BUF_ARCH_NM, ALRM_ARCH_NM, ALRM_ARCH_CH_NM to ARCH_BUF, ARCH_ALRM, ARCH_ALRM_CH; and appended for ARCH_NOALRM ("<noalarms>").
Appends:
- SYS: The global short functions appended of s2l() and s2u().
- Appended of a new function strParseEnd() of parsing the separated string from the end.
- The function pathLev() appended of a new argument of position the offset to the next token begin and what also appended in the UserAPI function parsePath() of DAQ.JavaLikeCalc.
- TCntrNode appended of the functions storage() and setStorage() for tracking the availability of node data. TCntrNode::Flag appended of the item LoadForcibly. TCntrNode::modif() and TCntrNode::modifG() appended of a new argument "forceLoad".
- The time limit variable "limCacheIts_TM" appended for the cache limiting.
- The common encoding function strEncode() and the User API one appended the variant "ShieldBin" of shield the binary symbols [\x0-\x8\xB-\xC\x0E-\x1F].
- TMess: Appended for a function of checking the messages for them translatability — isMessTranslable().
- Appended for functions of managing the translation cache: translCacheGet(), translCacheSet(), translCacheLimits() and the own lock trMessCacheRes. Appended for a function translIdxCacheUpd() of updating the operative translation messages' index and cache, and functions translItSplit(), translItRemTrs() of the items splitting and removing from Trs.
- Appended for the translation context at the new function trCtx() and the object TrCtxAlloc for handling.
- Appended for the data translation trD()->translGet() and trDSet()->translSet().
- Appended for the prestoring system messages translation trS(), as an other link to I18N().
- Appended for the function messLevelTest().
- The TMess::Type structure appended of an item "MaxLev" of the maximum message types/levels specifying.
- The TMess definitions appended of mess_PreSave="<PSV>" and mess_TrModifMark="<!>".
- XMLNode: Appended of the new saving option BinShield(0x400) for controllable shield the binary symbols [\x0-\x8\xB-\xC\x0E-\x1F].
- TConfig,TCfg: Expanded for new parameters TConfig::{trcSet,setTrcSet}(), TCfg::{isSet,setIsSet}() of detection the configuration field changing and using in the partial DB-loading instead toDefault(); and TConfig::{noTransl,setNoTransl}() for global setting the structure default translation. TCfg::setExtVal() function appended an argument "toOne".
- TError: codes appended of: DB_TrRemoved (22) for mark the translation removing in DB, DB_ReadOnly (23) introduced by SQLite at the unification process, Core_NoNode (5) of the TCntrNode missing, Tr_ErrTransport (12) for the transport errors mark, Tr_ErrResponse (13) and Tr_ErrDevice (14) for more specific transport errors.
- DB: The TBDS::realDBName() appended of the back conversion argument.
- The static methods of TBDS appended of the new function dbPart() of getting the storage address parts and appended of a new function dataDelTbl() of the common tables removing, also in the Configuration File.
- Appended for the structure item object TTable::TStrIt.
- Common SQL-code moving to the new functions: TTable::fieldSQLSeek(), TTable::fieldSQLGet(), TTable::fieldSQLSet(), TTable::fieldSQLDel(); with the flags TTable::SQLReqFlag: SQLNoFlg, SQLOrderForSeek, SQLFirstSkipForSeek.
- Declaration in the core for the service definitions, methods and functions to the common SQL-code: SEEK_PRELOAD_LIM, tblStrct, seekSess, connRes, fieldFix(), getSQLVal(), setSQLVal().
- Appended of the list priority specifying functions TBD::lsPr(), TBD::setLsPr() and virtual one TTypeBD::lsPr().
- Appended of the DB features specifying virtual function TTypeBD::features().
- DAQ: TFunction::IO object's structure IO::IOFlgs appended the flag IO::TransltText of marking the translate String IO directly.
- The function {TController,TParameter}::messSet() appended of the messages transferring from the top to the down, and also the User API functions SYS.DAQ["Modul"]["Controller"].messSet(), SYS.DAQ["Modul"]["Controller"]["Parameter"].messSet().
- The TCntrNodeObj appended of the function lang() obtained from the second line of the common method mUserLang.
- The User API functions appended of the function funcSnthHgl() in the DAQ module object and for obtaining the syntax highlight rules of the module and language.
- Archives-History: Appended of the function "void TArchives::messPut( const TMess::SRec &rec, const string &arch = "" )" variant.
- Transports: Appended of the new function extHostSeek().
- UI: Appended of the Configuration File option "FontSnthHglCode" and the corresponded functions TUIS::fontSnthHglCode() and TUIS::setFontSnthHglCode().
- VCAEngine:
- The User API functions mime() and mimeSet() appended of the correct equivalents resource() and resourceSet().
- The Project object appended a Control Interface service request "read:/serv/access", of checking the read access.
- The Control Interface service request "get:/prm/cfg/prj" appended an option "noName" for preventing the project name request.
- VCAEngine:
SYS
- FIX:Building: configure.ac: Core library version risen to 3:12:0 and the program version risen to 0.9.5.
- The module version of the subsystem "BD" risen to 15, the subsystem "DAQ" risen to 14.
- The Debian 11 root file systems (chroots) are appended for build OpenSCADA; appended for build to Ubuntu 22.04 LTS and Debian 11 ARM64; and Maemo 5 (Nokia N900) removed since the compiler crashes now constantly in several places.
- data/*.xml: The TBDS Generic parameter "SYSStPref" removed.
- SYS,data/ModelsDB/{AGLKS/oscada_AGLKS.xml,Boiler/oscada_Boiler.xml}: The configuration parameter "Lang2CodeBase" renamed to "LangBase" with support "Lang2CodeBase" up to the 1.0 release.
- The source code messages and program documentation:
- The "Quick start" manual completely revised and actualized for the last LTS changes, and also included the new section "Execution the ready OpenSCADA project in the service-background space" into own section "Background and remote execution — server, PLC execution environment and remote development".
- The "Program Manual" document appended of the new section "Execution the ready OpenSCADA project in the service-background space" and revised in the section "Startup and execution".
- New document of the How to "Create multi language project" appended for downloading to offline.
- The whole source code labels like to ????, !!!!, ?!?! and they comments were revised.
- The language Russian,Російська,Российский renamed to its true name mRussian.
- UI.{VCAEngine,Vision}: The "Mime data" renamed to "Resources" and "Mime type" to "MIME".
- .,DAQ.DAQGate: The messages redundancy and messages transferring in DAQ.DAQGate limited for depth of the requesting messages up to the restoring time or one hour.
- The archivers redundancy and DAQ.DAQGate switched in the initial messages requesting to:
- request the active alarms;
- request the archive in deep and up to the alarms requesting time, without the alarms activation;
- ordinal-periodic request of the last messages, without the alarms activation.
- The archivers redundancy and DAQ.DAQGate switched in the initial messages requesting to:
- Protocol.HTTP,UI.{WebCfg,WebCfgD,WebUser,WebVision}: Appended of the previous user detection to mark that actions for HTTP-modules with moving the previous user authentication session closing after successful the new one.
- All the HTTP-modules adapted to the user field in the HTTP-functions with the previous user in the second line.
- FIX:WebVision: The previous user is used now for detection of the user change between the ordinal users and for single session, than prevent to create new sessions.
- Expanding the binary symbols [\x0-\x8\xB-\xC\x0E-\x1F] shielding:
- XMLNode: Appended of the new saving option BinShield(0x400) for controllable shield the binary symbols [\x0-\x8\xB-\xC\x0E-\x1F], what is significant for the WebBrowsers.
- UI.{WebCfgD,WebVision}: Appended of encoding the XML traffic for the binary symbols shielding using the new option "BinShield".
- FIX: strParse() rewrote and tested in processing the group symbols merging at the scan; and strParse(), strLine(), pathLev() in position the offset to the next token begin and limiting in the down for 0; and pathLevEnd() in positioning the offset to the next token end and limited in the up for the size. TModSchedul::chkAllowMod(),UI.QTCfg,Protocol.HTTP: switched in use TSYS::pathLevEnd() and TSYS::pathLev() in the new behaviour.
- Force loading appended of the errors suppression for not modified nodes before that operation.
- .,DB,DAQ: The global configuration context copying mechanism (interstation) appended for the marking link to the last setting operation object, to easy postmarks setting.
- DAQ: As a postmark to the saving DAQ-parameter object there appended the attribute "prmTp" with the parameter type, which is used next in true detection the parameter type changing at the following loading.
- .,UI.{QTCfg,WebCfgD}: The OpenSCADA Control Interface for Tables expanded by the user commands.
DB
- FIX: The TBD object appended an internal flag "mIsFirst" of control the object first enable and what used to prevent of the table "Trs" registering at each enable-connection-reconnection.
- FIX: The TBDS::dataDel() fixed-appended in removing multiple items and appended of removing the empty table nodes of the Configuration File.
DAQ
- FIX: The controller objects manual start defined for some specific hot doings of the object enabling, when the doing was prevented from call twice at the normal start:
- DAQGate: resync the remote source data at the sync period >= 0;
- ModBus: force reformation of the acquisition blocks;
- OPC_UA: force reformation of the monitored items list;
- Siemens: force reformation of the acquisition blocks.
- The "Return" type IO of the TFunction object was set to ReadOnly in the manual execution tab.
- FIX:DAQGate: Appended of the asynchronous writing mode implementation. The configuration field of the remote stations selection moved in simple combobox. The controller object status appended of the counters of read/archive's/wrote values, read messages and the writing buffer status.
- FIX: Fixed in reusing parameters with empty address for included ones and appended for clearing the address at the parameters copy.
- FIX: Unified in the sync commonly and fixed in the attributes sync, with preventing in constantly sync of the missed on remote host parameters.
- FIX:JavaLikeCalc: Prevented in some resources lock of the library function at its program change, when performed the program compile at disabled function.
- Siemens: Appended of the new option "Maximum size of the request block, bytes" of specifying the maximum requesting block.
Transports
- The UpRiseLev stations splited in the requesting transport per the first host of the "reforwardHost" address, than preventing the common connection hung at long connection to very far reforward missing station.
- SSL: Both input and output parts appended of the possibility to point the certificates and the key directly from an external file. Appended for reloading the certificates file of the input transport at it change by the transport reconnect.
Transport Protocols
- FIX:HTTP: Fixed in reading the "accept-language" HTTP variable only as the two symbol language code, then the common interface is translated also now on FireFox who sends there the country code also.
- FIX:SelfSystem: In the input part switched to load the whole input message before checking the auth information, then preventing for strange error messages "Error the command format." for the message tail.
User Interface
- VCAEngine,Vision,WebVision: The "openlist:/serv/pg" control request appended in the attribute "pgGrp" (group) of the opened page for detection several pages open in one container then open last one and close previous ones, to prevent mostly the included pages all close and allow of specifying-override the need pages open.
- Vision: Refactored also for early opening the restored and specified pages in the init procedure.
- QTStarter,WebVision,WebCfgD: Qt part, in the generic Qt Library, and Web appended for the table edition text apply at Enter and new line at Ctrl+Enter.
- FIX:QTCfg,Vision: Prevented from hangs at stopping from a termination signal, from the console mostly, since locking the main Qt thread in modStop() without qApp->processEvents().
- QTCfg: The text fields appended of checking and activation the builtin syntax highlight rules from the XML-tag "SnthHgl". The Tables appended of finding for pointed strings.
- VCAEngine:
- Finishing of implementing the changes obtaining in the runtime mode by the clocking cycles through, after observing the race condition on the attributes changing, which cause to do not update the value on visualizers:
- rewrote for the modification control mechanism;
- specifying the forming and fixed cycles;
- reducing the main calculation clock to uint16;
- dividing the changes clock value of attributes and the widget commonly to the forming (uint16) and the fixed (uint16) = uint32;
- processing the changes clock value both at the modification and reading-checking;
- support of reloading the main calculation clock and clearing the old changes clock value;
- preventing the empty cycles for the common widgets requesting;
- removed for code of the previous slide current mark mechanism of the attributes changing detection with the doubles.
- The Widget copy operation appended of copying the used widget resources (the Image type now only), and in that way there performed.
- FIX: The "<deleted>" mark setting for the removed inherited included widgets moved to the save function of the container widget, since that is lost at the copy operations and now you can easy undo/redo such widgets removing.
- FIX: Fixed in the mime data copy at the widget libraries and the projects copy, moving the copy to the copy save, with expanding the mime operations for work with completely specified DBs.
- FIX: Prevented in the attribute values inheriting for the output links, then do not write to DAQ the obviously wrong values at the hot edition of running projects and their items.
- Finishing of implementing the changes obtaining in the runtime mode by the clocking cycles through, after observing the race condition on the attributes changing, which cause to do not update the value on visualizers:
- FIX:Vision: Fixed, or finished the implementation, for UNDO/REDO the removing operation of the inherited included Widgets of the Project Pages.
- Adjusted in the focus policy to the UI.WebVision way and appended the focus force clearing at lost, to prevent the widget focus return at window activation, so you can use now the event "ws_FocusIn" in opening external subwindows.
- The child widgets selection conception at the visual editing of the development mode was unified and fixed in a new part "Visual editing" of the UI.Vision module documentation.
- Requesting of the widget attributes' values of the developed widget moved to a single big request, than the remote development is become much faster.
- FIX:WebVision: The session methods mUser and mUserOrig moved under the data mutex lock, due to there can be crashes at active user manipulations.
- FIX: The view "Combo" of the type "Line" and the types "List" and "Combo" appended of creation value items missed in the selection list.
- FIX: The popup windows of the calendar and editable combo appended of the geometry check than preventing the main window overflow; and the popup windows closing moved completely at a mouse button press outward the window, together other popup menus.
- FIX: Improved and fixed in usability the view Table of the primitive FormEl and mostly in the text edition: true width fitting and minimum height setting to 40 pixels, FIX: fixed in specifying the column sorting value "0" as ascending-default and "1" as descending from the top, like to the UI.Vision behaviour and the numbers (integer,float) sort-comparing was implemented separately.
- Appended for the FrontEnd status display in the session status field with that requesting-scheduling at display the field.
1.3.1 Service updates
- the fifth (5) at 03.12.2022.
- the fourth (4) at 23.10.2022.
- the third (3) at 03.09.2022.
- the second (2) at 08.08.2022.
- the first (1) at 24.07.2022.
1.4 [14.04.7529/14.06.2021] The FOURTH update
This update of the 0.9 LTS release fixes about 45 bugs and appends some improvements, which you can read wholly in the update ChangeLog.
User significant actions on the update
- FIX:SYS: The common configuration field "WorkDir" was prevented from marking as modified one at the project switch than saving it in the configuration file, but there is no mechanism of automatic removing this field from the configuration file of the old projects.
- => remove manually the common configuration field "WorkDir" if it was appeared there in a wrong way and you have problems in use folders of foreign OpenSCADA projects by this project.
New and significantly updated parts
- OpenSCADA Core: 3:9:0 => 3:10:0
- OpenSCADA "Transports" subsystem: 17 => 18
- {DAQ,Protocol}.OPC_UA,libOPC_UA: 1.7 => 2.1, 1.10 => 2.1, 1.2 => 2.1
- DAQ.ModBus: 2.12 => 3.1
- DAQ.DAQGate: 2.2 => 2.3
- DAQ.Siemens: 3.5 => 3.6
- Transport.Sockets: 4.2 => 4.3
- Transport.Serial: 2.5 => 2.6
- Transport.SSL: 3.2 => 3.3
- UI.WebCfgD: 1.5 => 2.0
- UI.VCAEngine: 6.9 => 7.1
- UI.QTStarter: 5.8 => 5.9
- UI.QTCfg: 5.1 => 5.4
- UI.Vision: 7.7 => 7.13
- UI.WebVision: 5.8 => 6.2
- LibsDB.OscadaLibs.DevLib.IEC62056: 1.0 => 1.1
- LibsDB.vcaBase.Main: 2.0 => 2.1
- storeHouse: 1.0
- RootPgSo: 2.3 => 2.4
OpenSCADA libraries and projects
- LibsDB.vcaBase,AGLKS.vca: Main.RootPgSo: Appended for:
- the widget "alarms" on the primitive "Protocol" basis with the possibility of enable/disable;
- appended for an optional function of returning to a default user after specified time of the inactivity in a new attribute "defUser";
- switched to a non relative algorithm of the main mnemonic scheme's vertical position and height calculation.
- LibsDB.OscadaLibs: DevLib.IEC62056: Rewrote in the synchronous (request-answer) mode for working multiple devices on the serial bus.
- LibsDB.vcaBase:
- The library "Main" appended for the new page "StoreHouse (storeHouse)" implementation.
- Main.RootPgSo: Periodicity of the frame execution rise to 1000 milliseconds after appending for events early processing. Switched mostly from the hotkeys "Ctrl+?" to "CtrlAlt+?".
- AGLKS.vca: The project page /prj_AGLKS/pg_so/pg_4/pg_mn/pg_1 renamed to /prj_AGLKS/pg_so/pg_4/pg_mn/pg_CM101 like to other ones.
API
!!!!:Changes:
- SYS: The function TSYS::curTime() appended for an argument of the clock source specifying with using the function clock_gettime(). The EVAL_RFlt definition appended for the suffix "f".
- Mess: The translation function TMess::translSet() appended by an argument "srcFltr" of filtering at sources.
- Transports: The IO-log functions pushLogMess() appended by the arguments "data" and "dataDir".
Appends:
- Mess: The data lock separated from all messages lock in dtRes.
- SYS: The user API functions appended by the function lang() of the system language fast obtaining.
- Appended for the function TSYS::curTimeN().
- .,DAQ.{LogicLev,ModBus,Siemens}: Appended and used for a global constant DAQ_APER_FRQ of frequency of representing the aperiodic invokes, like to f_start, of the periodic processes.
- Security: The user object appended for a function auth() of the User API to authenticate at password.
- Transports: The input and output transport objects appended for the IO-log attributes: "mLogLstDt", "mLogLstDtTm".
- DAQ: The DAQ-parameter object appended for an information field of the changing timestamp with it maximum value on the controller object, by the new DB configuration field "TIMESTAMP" of the parameter object.
SYS
- FIX:Building: configure.ac: Core library version risen to 3:10:0 and the program version risen to 0.9.4.
- The source code messages and program documentation:
- rom_as@oscada.org replaced by roman@oscada.org in everywhere in the source.
- The document "Modules/OPC_UA" complete revised for the modules version 2.1 and the translation.
- The "Translations" tab revised something, appended for the actual status, appended for some context help and the translations manager appended for:
- limiting of the table form time in prmInterf_TM (7 seconds);
- a configuration field of passing number the top messages;
- translation setting only for the filtered sources;
- checking the content for match only for the filtered sources;
- pass the sources missing error.
- The translation function TMess::translSet() prevented from propagation the group messages changed not from the translation manager.
- FIX:.,BD.LDAP,Archive.{DBArch,FSArch},DAQ.{ModBus,MMS},{DAQ,Protocol}.OPC_UA,UI.Vision: Some cleaned from the build warnings.
- FIX: The EVAL_RFlt definition appended for the suffix "f" to prevent of wrong comparing the double EVAL_RFlt with stored float values, fixes the archiver Archive.FSArch work with the float type values in the EVAL detection.
- FIX:Mess: The data lock separated from all messages lock in dtRes to prevent the concurrently locks at active work with translations. The mLang2CodeBase, mLang2Code attributes switched to this new lock.
- data/openscada-proj.in: Switched to linking user LibsDB content to the system RO-content-libraries instead the copying.
DAQ
- ModBus,Siemens: Switched in "f_frq" value form to use the real task execution information.
- {DAQ,Protocol}.OPC_UA.{.,libOPC_UA} : Appended for the Publish service implementation, CHUNKS support on the DAQ-client part and the code coming refactoring in generic:
- CLIENT:
- attributes (monitored items) adding moved from attrPrc() directly to enable() and which ensured to call at the controller object start
- ... and the items processing improved in updating the description, flags and link;
- values acquisition is unified in processing in the parameter function upVal()
- ... and the values requesting by the controller object function getValMIt() with the Arrays support
- ... than preparing closely for builtin the logical parameter type;
- the DAQ-parameter objects enabled for including other parameters;
- the EVAL setting and removing for all attributes tested for all modes;
- structure variables in DAQ-parameters allowed to select them items separately, in the selection browser;
- the variables list of the DAQ-parameters parsing set to complete parsing with passing empty lines;
- the DAQ-controller object appended in closing the session and secure channel at it stopping;
- the controller object common status appended for the detailed information about the used secure channel, session, subscription and the processing monitored items;
- the request lock renamed to resOPC.
- SERVER:
- the OPC-UA Server object appended for the common server status tab with information about activity of the secure channels;
- the EndPoint Node object appended for the common status with information about activity of the sessions and subscriptions, also the subscription task period and time of execution.
- LIB:
- unified in specifying the default value of the secure channel life time, what set to 300000 ms;
- the default LifeTimeCounter of the subscriptions set to 2400;
- the object NodeId appended for the function operator==() of direct comparing;
- the function XML_N::childClear() appended by a result of returning the same XML_N object for concatenation;
- the function curTime() appended for an argument of the clock source specifying with using the function clock_gettime();
- short functions appended for str2int() and str2uint();
- some fields renamed: publInterv to publInterval, cntrLifeTime to lifetimeCnt, cntrKeepAlive to maxKeepAliveCnt, maxNotPerPubl to maxNtfPerPubl, en to publEn;
- fixing "POOL" word on "POLL".
- LIB_CLIENT:
- Client::reqService() appended for the meta command "CloseALL" of closing current session and secure channel;
- the main client services processing function protIO() adapted to work in the asynchronous mode (not requesting);
- the function Client::messIO() expanded for the timeout argument with specifying the requesting mode also;
- the channel writing and reading is separated in MSG packages processing;
- adaption the secure messages to work with the mixed input buffer;
- moving the main service request "OPN" under the messages processing due to the renewals sending inward the Publish activity.
- implemented for the Publish service on the client side:
- the "Client" object appended for the subobject "Subscr" implementation (but stored in Client::SClntSess) with the functions: activate(), monitoredItemAdd() and monitoredItemDel();
- the "Client" object appended for the function poll() with:
- unifying the values reading both for the Read and Publish modes;
- checking of loss all Publish requests during the OpcUa_ClntPublishResentCntr(2) keep alive count-time;
- restoring the Publish pool.
- the object Client::Subscr::MonitItem was added as the monitored items representer with the access under the client resource common lock;
- the service requests appended for implementation, include processing the responses: CreateSubscription, DeleteSubscriptions, CreateMonitoredItems, Publish, Poll;
- implemented and tested in the secure policies support at Publish;
- the target Publish requests pool per subscription set in the virtual function publishReqsPool() with default value 2.
- appended for the CHUNKS implementation both for requests and responses;
- completely revised and cleared in the common requesting function reqService() from doubling the arguments and parameters:
- appended for restoring sessions at reconnection the secure channel;
- unifying the clearing of the current session and secure channel.
- the client object appended by the common resources lock mtxData;
- the message property "timeoutHint" set to 0 for all messages;
- the Read request returned to the plain requesting with limition on CHUNKS only;
- the error OpcUa_BadSecureChannelIdInvalid added for clearing the secure channel;
- Client::SClntSess::{sessOpen,lstMessReq} renamed to {secChnlOpenTm,secLstMessReqTm}
- ... and prevented from clearing in restoring the session and secure channel;
- appended for debug message of the request errors.
- LIB_SERVER:
- the server part adapted to work with UAExpert 1.5 for: the attribute AId_Descr of the DAQ-value set to the type OpcUa_LocalizedText, the integer types appended for declaration OpcUa_IntAuto and OpcUa_UIntAuto;
- the subscriptions processing returned to they processing in a separate task and the function subScrCycle() for:
- true counting all timeouts to disable;
- processing the periodicity of subscription and publishing;
- checking the assigned sessions and secure channels state to close the subscriptions.
- but the publishing leave for processing in the input channel activity and the function Server::EP::publishCall() with preventing the Publish processing for wrong and foreign Subscriptions, by checking inPrtId, sesTokId and isSecCnlAct;
- Session unification for: link of the sessions to secure channels switched to single one instead an array, the session checking of all messages appended of preventing of using foreign connections;
- not final chunk packages switched to send directly, for not append to single TCP-package;
- EP::mtxData lock switched to PTHREAD_MUTEX_RECURSIVE;
- the secure channels limited in OpcUa_SecCnlLimit(10) and the publishes queue in OpcUa_ServerMaxPublishQueue(10);
- EP::secSize() renamed to EP::secN() and there added EP::sessN(), EP::subscrN() and chnlList();
- Server.SecCnl.{TokenId,TokenIdPrev} renamed to Server.SecCnl.{tokenId,tokenIdPrev}.
- ModBus: The output part of the protocol RTU variant appended for early termination of the package waiting of the standard functions [ERR,1...6,15,16], what increases the overall bandwidth twice.
- IO of the Logical Level parameters enabled for the translation, for not linked strings and like to DAQ.LogicLev.
- The DAQ attributes parsing switched to use TSYS::strLine() and TSYS::strParse() than allowing the symbol ':' in the name and empty lines in the text.
- DAQGate: The sync modes appended for a mode of preventing the sync in whole for the stored in the cache objects, allowing value -1 for the configuration field "Synchronization time with the remote station, seconds."
Archives-History
- FIX:FSArch: Critical fixed in the value archive files processing, in try they ID write to NULL string.
- DBArch: The message archivers appended for the configuration field "Unique and non duple messages for time and category only".
- FIX: Fixed from crashes at the value archiver groups processing by not clearing the table field configs (TConfig) links under the locks and the unlocked function ModVArch::grpLimits() for reqRes.
Transports
- The IO log, both input and output parts, expanded and appended of:
- combining data of packages with even direction and address during prmWait_TM (5 seconds);
- microseconds part of the time fixed for 6 symbols;
- the data messages appended for the direction symbol;
- of limiting the one processing block size by a new configuration field;
- performance significantly rising by using the preliminary buffer.
- FIX:Serial: The output transport fixed in the inter request waiting at the reqRetrMult*wCharTm processing as milliseconds.
- FIX:Sockets: The error "Broken channel (32)" is detected at the writing, after disconnecting the server, so the reconnection attempts set to 2 at (kz <= 0).
User Interface
- FIX:Common review and refactoring the tables in Qt and Web both generically and in the view Table of the primitive FormEl of VCA:
- QTStarter,QTCfg,Vision: The common library class TableDelegate significantly improved to work in QTCfg and Vision:
- appended for the own user roles SelectRole, TextLimRole and OneLineString;
- the cell paint appended for the background color by reading-applying the common roles;
- the number types (integer and real) appended for force centering;
- the string types appended by the options of alignment and wordwrapping from the role Qt::TextAlignmentRole;
- appended for long text visible limit support by the own role TextLimRole and the default value 300 symbols by sizeHint() additional reimplementation.
- FIX: The view "Table" of the primitive "FormEl":
- VCAEngine,QTStarter,Vision,WebVision: Appended by the new cell type 't'-text mostly for allowing the edition confirming the type 's'-string by pressing Enter.
- VCAEngine,Vision,WebVision: Appended of the column, row and cell space option "prec" of the real value precision control; and by the column and cell attribute "align" implementation.
- WebVision,Vision: Appended for switching the tables in preventing of double storing the source content at the content size more for 10000.
- FIX:Vision: Using the common table delegate with the feature of multiline edition.
- Improved in the columns, rows and cells show at the table updation and commonly:
- in limiting the visual size of the cell content in 300 symbols and the rows height in 70% from the whole table size;
- more precision columns width alignment;
- in fitting at the development mode and also at the vertical header show;
- in the table close filling by consideration the visible vertical scrollbar size;
- in fitting after the table whole resizing only, so allow the columns resizing manually also and to provide that true fitting always.
- Implemented for the light processing of the width changing and updating:
- light edition without the columns refitting all updating time, only at: first row appearing, columns count change and the column title change, font change and resize;
- apply the column force width and the row height calculation with limits independently from the common attribute "colsWdthFit" value;
- setting the value, early resizing and the table fitting, moved to the space of the table content presence and after the sorting.
- The export function in runtime append of export the view Table of the primitive "FormEl" in CSV.
- WebVision:
- Improved in the columns, rows and cells show at the table updating and commonly:
- the not fitting mode (the attribute "colsWdthFit" missing) implementation, using the automatic table layout mode for calculation the fixed widths and next switching to the fixed table layout mode;
- multiline text edition of the text cells in whole width and height of the cell, with the edition apply by Ctrl+Enter;
- view limiting the string cells in 300 symbols;
- display the boolean cells as an image at the TRUE state;
- table cells in the editing mode allowed for the system-browser context menu.
- Implemented for the light processing of the width changing and updating:
- the table changes detection and updating switched to the mode of not storing double source content;
- prevented from the complete updating at the attribute "value" modification.
- Appended for the sorting support by columns. Set to the first visible column for sorting at the sorting enable.
- WebCfgD: The table expandings for:
- the big text content limiting in 300 symbols at the visibility;
- the string type allowed for the multiline edition using TEXTAREA;
- the type data "bool" is shown as an image, not "On" or "Off";
- centring the boolean, number, time and selectable content;
- simplifying the table content edition for the types time, number and string by removing the apply and spin buttons.
- QTStarter,QTCfg,Vision: The common Qt-code of the OpenSCADA Qt-modules started in their moving to the new library files lib_qtgen.* what placed in the module QTStarter folder and linked in all Qt-modules, and that done for: external icoSize(), colorAdjToBack() and TableDelegate.
- VCAEngine:
- Appended and enabled as a build option for the mark mechanism of the attributes changing without the doubles, by requesting the previous-completed cycles, than also preventing the need of detection the doubles in the visualisers and storing the big source content.
- The projects runtime improved in changing parents of the processing pages on the fly.
- The session tasks execution appended of early execution at events presence.
- FIX: The VCA-styles fixed in accessing to empty fields which don't load.
- The "Diagnostic" page of the VCA-projects adapted to show the debug level messages at enable the debugging.
- The project session execution information appended for the real periodicity taken from the task, which also used in form value of the procedure attribute "f_frq".
- Vision: The property dialogues of the "Widgets" and "Projects / Widget libraries" appended for own statusbar and a button of context manual invoking. The TextEdit widgets switched to own statusbar of the property dialogues for the cursor position and what disabled in ToolTip. The text code edition widget of the "Widgets" property dialogue appended in restoring the cursor position after apply or cancel.
- FIX:WebVision: Appended for detection disappearing of the project execution session and return an error, in the common request "pgOpenList", and at dropping down the calculation counter "tmCnt".
- The keyboard focus and events significantly improved for ensure that working in common by:
- setting the "tabindex" attribute for all active widgets and for FormEl items specially - for the form elements;
- appending the "tabindex" number calculation as a unique one for whole interface, than prventing the tab focus jumps;
- processing the onfocus event for the own focus setting by setFocus();
- the view Button of the primitive FormEl appended for the keyboard events processing for down and up at the keys Space and Enter;
- the primitive Diagram is simplified by removing the spare A item;
- FIX: Fixed in the keyboard focus switching at mouse clicking on buttons with images.
- FIX: Fixed in checking the removed widgets for all and the master page.
- FIX: Fixed at last in plodding spare DIV items at the page changing in the page containers.
- FIX: Prevented in cycling at presence the Web-session but missing the corresponded VCA-session.
- FIX:WebCfgD: Completely revised and expanded for:
- the all internal tool actions moving to the implementation as buttons and the toolbar size set from 25 to 30 pixels;
- removing the toolbar button images' size filtering-resizing on the server side;
- page icon padding between the title set to 10 pixels;
- the control page complete updating after the window resize;
- the generic text edition field by TEXTAREA expanded for apply and cancel from the keyboard;
- the hosts updating function bound to the double mouse click on the common space of the tree area;
- FIX: the hosts updating function fixed in detection douple host items;
- FIX: forced in the actual-selected item marking in the control tree after it rolling;
- removing nodeText() and setNodeText() by direct using "innerText" and "textContent".
1.4.1 Service updates
1.5 [20.10.7528/20.12.2020] The THIRD update
This update of the 0.9 LTS release fixes about 40 bugs and appends some improvements, which you can read wholly in the update ChangeLog.
Automation Linux distributive of the project OpenSCADA
- the packages "tdelibs" and "tdebase" were removed due to this fixes were applied in the master and stable branches of TDE;
- the patched packages "tdemultimedia-trinity", "tdenetwork-trinity" and "tdeutils-trinity" were rebuilt;
- the new patched package "tde-i18n-uk-trinity" was built;
- before the packages building there was changed the scheme of the package version forming of this distributive from "{+1}:14.0.9-0" to "4:14.0.9-{+1}" to prevent these packages freeze on next TDE versions; and the TDE main package repository of the Live Disks was switched to the branch "r14.0.x" instead the preliminary stable, what also present but commented;
- before the release there, in TDE Weblate, have finished the translation to Ukrainian for the parts-packages of TDE: tdelibs, tdebase, tdegraphics, tdenetwork, tdemultimedia, tdepim, tdeadmin, tdeaccessibility, tdeutils, krusader, yakuake, basket; and the patched package "tde-i18n-uk-trinity" was created for translating the branch "r14.0.x" difference from the master branch;
- the patch in "tdeutils" was appended for the key combination with holding Ctrl of slow changing the display brightness for KMilo.
OpenSCADA libraries and projects
- FIX:LibsDB.OscadaLibs: The library DevLib appended by the template "MTP 4D (MTP4D)" and "ModBus base (mbBase)".
- FIX:LibsDB.vcaBase: The template project (tmplSO) cleaned from spare mnemos of the prescription management and the main page appended of the actual alarms-violations table. The frame Main.RootPgSo unified for the notifiers in the generic attributes only for the VCA-server and notifiers Vision, WebVision: notify0, notify1 and notify2.
API
!!!!:Changes:
- Archives-History: {TMArchivator,TVArchivator,TVArchive}::DB() set to the constant qualifier.
- Transports.{.,*}: The timeouts setting function setTimings() of the output transports expanded in the default timeouts difference for different protocols, by the argument "isDef".
Appends:
- SYS.,*:
- The system wide limits and parameters moved to the user configuration area (the configuration file) for some allowed range. STD_WAIT_DELAY moved to prmWait_DL and changed to 0.1 seconds. The previous system wide limits' and parameters' definitions left for the external modules compatibility!
- TSYS appended for the function taskSendSIGALRM() of sending the termination signal "ALARM" to OpenSCADA tasks.
- TValFunc: Appended for a state of the function execution by the function isCalc().
- Transports: The output transports expanded for a mark of the transport as Network one, by the function isNetwork(), in the User API also.
SYS
- FIX:Building:configure.ac: Core library version risen to 3:9:0 and the program version risen to 0.9.3.
- {DAQ,Protocol}.ModBus:
- the subtype "_b" — bit type, expanded by moving the bit number to the register number field like to "R_b:123.12";
- added by the flag "~" for inversion registers order of the complex subtypes in multiple registers, like to "_f";
- the flag "rw" separated to "r" and "w".
- The module version of the subsystem "Transports" risen to 17.
- FIX: Prevented from authentication in user interfaces by the ready password hash.
DAQ
- LogicLev,ModBus,Siemens: Appended for termination long time executed templates at the parameter disable, using new functions TValFunc::isCalc() and TSYS::taskSendSIGALRM().
- FIX:LogicLev: Removed for the calculation lock "calcRes", what used only in locking the writing to the parameter attributes during the calculation and what can be long.
Archives-History
- FIX: Obtained current values, in the active archiving mode, forced to the current time, what is significant for the dynamic attributes archiving.
- The value archive configuration field "Mode of forming ID of the automatic created archives" expanded by the selection item "All controller, parameter and attribute ID", during the process of expanding the limit of the value archive ID to 50 symbols.
- FIX:DBArch: Fixed for only direct the values archiving in the group mode and when the values type may drop to the Integer type as the default one. The value archiving in the group mode appended for removing the according table column at the archive removing, for the table column hot removing just after appending some new archive, than preventing the table early growing to the DB limit.
- FSArch: Adaption to the ID size of the value archive more than 20 symbols, when its 14 extra symbols are stored in the reserve part (renamed to "archive_add") of the header and extra more in the filename.
Transports
- FIX: The function TTransportIn::assTrO() of processing input initiative connections complete revised to make new connection necessarily created as a new output transport, then preventing true finishing the present closed but not freed output transports.
- The transport commands renamed from "Running" to "Connect" and the statuses renamed from "Started. " to "Receiving data. " and "Connected. ", from "Stoped. " to "Disconnected. ".
- FIX:{Sockets,SSL}: The default timeouts returned to "10:1".
Transport Protocols
- HTTP:
- Appended for the dynamic cookie name and the User ID space, where the cookie name is "oscd_UID" and is used the User ID space in work with the common authentication sessions table, and the cookie name is "oscd_UID_{PrjNm}" in the work without that.
- FIX: Multipart POST of the output function outMess() prevented in the end boundary placing and improved in the "Content-Disposition" form.
- The User ID generation improved in generation different IDs for the different processes, limited in 1e6, and appended by the random and configurable User ID space [0...99] * 1e6, used in the work with the common authentication sessions table.
- SelfSystem: Output transport specific timeouts are set to "20:2".
- ModBus: Output transport specific timeouts are set to "5:0.1" for Network transports — isNetwork() and the protocol variant "RTU".
User Interface
- FIX: TUIS::docKeyGet() fixed from the user array objects leaking.
- VCAEngine,WebVision,Vision: The primitive "Media" appended by the type "Audio" and the type "Full video" renamed to "Video", which also implemented in WebVision and Vision.
- QTCfg,Vision: Appended by a function of adjustion text colors to the background color — colorAdjToBack(), which used in correction the syntax highlighting and other dynamic colors to the palette changing.
- VCAEngine,Vision: Expanding the notifications implementation in way their implementation on WebVision, for:
- using the standard way of the notifications obtaining through the corresponding attributes activation;
- ntfReg() expanding for the negative type using in all types processing, freeing mostly, and some unification of the code;
- expanding by the resource type obtaining;
- appending the notifiers by the flag "notifyServ" of the notification enabling on the VCA-server side;
- VCA-server side appended for the field "resStatic" of the direct resource specifying (non dynamic);
- appending the notification procedures' context for the two variables "resTp" and "prcID".
- FIX:UI.QTStarter: Appended for the start dialog periodic updating in the project list.
- FIX:VCAEngine: Fixed in crash at a widget link setting to "prm". The resource requesting service "get:/wdg/res", Widget::resourceGet() and {WidgetLib,Project}::mimeDataGet() appended for requesting the resource parts, for big media files mostly.
- FIX:Vision: Appended of playing the notifications by the internal player at Phonon and not in the separate notification task. The call saveState() moved from the developing window destructor to the closing event, but a problem of empty context saving was observed after playing some media.
- FIX:WebVision:
- Implementing of the notifications support.
- Implementation of the resources uploading in parts, for big media, by the HTTP parameter "Range: bytes=".
- FIX: Fixed in the page cache spare cleaning for widgets from pages with common name to the remove page.
- WebUser: Adapted to the work with POST and the content in the body.
1.5.1 Service updates
1.6 [17.06.7528/17.08.2020] The SECOND update
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 risen to 3:8:0 and the program version risen to 0.9.2.
- Modules version of the subsystem "BD" risen to 14, of the subsystem "Transport" risen 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.
1.6.1 Service updates
1.7 [08.02.7528/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.
1.7.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.
- 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().
- 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.
- 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.
- 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".
- FIX:IEC60870: Appended for the separate time "tmPoolAll" of the period of the complete polling.
- 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:{alarmsAct,alarmsSt}:
- 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.
- FIX:St:
1.7.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.
1.7.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 risen to 3:7:0 and the program version risen 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" risen to 12; of the subsystem "DB", "DAQ", "Archives" and "UI" risen to 13; of the subsystem "Transports" risen 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.
- TConfig,TCfg: The key fields appended for their size limiting before cutting on the DB side.
- 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.
1.7.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.
- FIX:{MySQL,PostgreSQL,FireBird}: Improved and tested for hot restoring of the losses connections and without the data loss.
1.7.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.
1.7.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.
1.7.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.
1.7.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.
1.7.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).
- Optimisation the remote development:
- 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.
- FIX:{Tree,Table}: Are fixed for true counting the border width and padding in the result geometry.
- 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:Main operation:
- 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.
1.7.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".