tests/projects/svghmi_widgets/beremiz.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 05 Oct 2022 16:10:17 +0200
branchwxPython4
changeset 3617 c3aae4c95bc1
parent 3416 53c66c4aefa3
permissions -rw-r--r--
Runtime: work around 1s delay added when using twisted reactor's callLater.

Since wxPython4, using wxReactor from non-main thread was producing
exceptions in wxWidget's C++ code. Then reactor.run() was called from
main thread, and runtime's worker was delegating calls to reactor
with callLater(0, callable).

While this worked perfectly with wxReactor, it did introduce an unexplained
1 second delay to each worker call when using nomal linux reactors
(i.e. without wxPython). As a workaround reactor runs in a thread when using
twisted without wxPython
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
2801
390acff12755 SVGHMI: Added init call to all widgets at startup to bind events. More features in Input widget : Edit and Change buttons. WIP HMI->PLC value update, incoherent data detected in C part on update.
Edouard Tisserant
parents: 2771
diff changeset
     2
<BeremizRoot xmlns:xsd="http://www.w3.org/2001/XMLSchema" URI_location="PYRO://127.0.0.1:61284">
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     3
  <TargetType/>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
     4
  <Libraries Enable_SVGHMI_Library="true"/>
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     5
</BeremizRoot>