ebb076a4853b84d14cd27cfa1a5dc03be0351de5
in SecopClient.disconnect joinng the reconnect thread may take up to 10 s, because of the time.sleep(10) call in the reconnect thread. change the _shutdown attribute from bool to an Event, and use Event.wait instead of time.sleep Change-Id: Icea6a14ad73df0b3d26ef45806f4c05e6bf18492 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/32137 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
Frappy: Framework for programming secnodes in Python
Frappy is a Python-framework for writing SECoP servers (called SECNodes or Nodes) and Clients. It comes with its own Graphical client and a collection of example Nodes. It is able to use TCP and Serial connections.
To get started, look at the provided demo, the provided examples, or have a look at the INTRODUCTION section.
Main development is done here and a readonly GitHub-mirror for easier access is available here.
Requirements
See requirements.txt.
Demo
Use the following command after installing the dependencies:
$ make demo
Documentation
Description
Languages
Python
99.9%