I'm am developing a GUI using pyqt4 and labrad to perform SPM experiments. The GUI has grown substantially over the past couple years and recently has started crashing very suddenly, without throwing error messages of any kind.
When an asynchronous local labrad connection is created, everything works as intended. However, when a remote asynchronous connection is created, the software no longer closes cleanly. Disconnecting the remote labrad connection prior to closing the software does not fix it. I'm suspicious that this is an indication of the remote connection not integrating properly with twisted's reactor somehow, and might be responsible for the sudden software crashes.
I am using pylabrad version 0.97.2, twisted version 17.5.0, qt4reactor 1.6, and pyqt4. Below I attached a very simple GUI that demonstrates the problem on my computer.
Does anyone have any ideas what could be causing this? Is there a different, more proper way to close a labrad connection? Am I doing anything obviously incorrectly in terms of starting the asynchronous connections?
I'm am developing a GUI using pyqt4 and labrad to perform SPM experiments. The GUI has grown substantially over the past couple years and recently has started crashing very suddenly, without throwing error messages of any kind.
When an asynchronous local labrad connection is created, everything works as intended. However, when a remote asynchronous connection is created, the software no longer closes cleanly. Disconnecting the remote labrad connection prior to closing the software does not fix it. I'm suspicious that this is an indication of the remote connection not integrating properly with twisted's reactor somehow, and might be responsible for the sudden software crashes.
I am using pylabrad version 0.97.2, twisted version 17.5.0, qt4reactor 1.6, and pyqt4. Below I attached a very simple GUI that demonstrates the problem on my computer.
Does anyone have any ideas what could be causing this? Is there a different, more proper way to close a labrad connection? Am I doing anything obviously incorrectly in terms of starting the asynchronous connections?
Any help or insight would be appreciated. Thanks!