EnglishУкраїнськаmRussian
Login/New

Productivity optimisation of the VCA interface

10.03.2023 10:00 Age: 2 yrs
Category: NewsDevelopment

By: Roman Savochenko


Greasing.

By default OpenSCADA interface designed for work in some fast enough carrying-live period (100 ms) which suitable mostly for active local Qt-interfaces of the module UI.Vision with high reactivity and on fast enough networks at working with the visualisation server. But currently you can tune your interface to achieve the loading decrease in times.

Main steps of the loading decrease (from Opens external link in new windowFAQ):

  • the first and an obviously step that is to increase the carrying-life period in the Opens external link in new windowVCA Project configuration, where you can set the "Period of the calculation" in a value up to 500 ms for active local Qt-interfaces of the Opens external link in new windowmodule UI.Vision and up to 1000 ms for not fast Web-interfaces of the Opens external link in new windowmodule UI.WebVision;
  • the second step that is to set the dynamic data updating period depending on what you mean as enough often or disable the periodic updating in whole by setting the period in -2; and do that for the Opens external link in new windowmain-root page in the Opens external link in new windowWidget configuration of your project tree; the same you can do for all panels placed in the group "Control panels (control)" of the project logical structure from the same main-root page, setting the needing period for the group itself;
  • the third step that is deepening to your dynamic widgets-cadres adaption for work on big periodicity without loss the reactivity like to the already adapted ones from the standard library as the Opens external link in new windowmain-root page and Opens external link in new windowAnalog show; and the adaption mostly means:
    • sending user events at need of rapid updation in the next life cycle after the events processing;
    • controlling the widget execution period depending on the activity situation like to blinking the selection cursor and the alarm colors.

And all these are available now thanks for a series of changes the Opens external link in new windowmodule UI.VCAEngine in the OpenSCADA 0.9.6 LTS Update:

  • adaption for the widgets processing in big periodicity or disabling the periodic processing in whole than leave only processing the events;
  • allowing the widgets to dynamically change the widgets processing periodicity from the processing procedure itself and obtaining the period value;
  • setting periodicity of the widget processing as an generic parameter and its value hierarchical propagation at the special value -1.

For more details see the Opens external link in new windowcorresponding part of the 0.9.6 LTS release report.


3562