Jive-ATK-Monitor lets the commnication to a GreenMode.Asyncio DS crash
|
|
---|---|
Dear all, I have a simple pyTango DS in asyncio mode that only provides two scalar double attributes. A LabVIEW client is supposed to write them. I was wondering why the communication crashes after some writes. I suspected that LV-Bindings has problems with the async mode. It turned out that a pyTango client shows the same behavior. But, and this is my question: It only happens (LV or py) when I watch the DS in the Jive ATK monitor. Why actually?
Here is the test client (runs in VS Code jupyther nb)
— Update —– The error message:
|
|
|
---|---|
After some discussions in Slack, it turned out that the solution is not easy because it forces a redesign of the cppTango threading model. A workaround is to hide the “Asyncio” part behind the synchronous interface in a separate thread. Here is a cooking recipe:
To test, start the DS and send command. Observe the messages in console. |