We have developed two different UR Cap for two hardware connected to the UR Controller. While hardware is moving and it goes to system emergency stop the polyscope freezes and we have to power off the teach pendant to regain the controller.
Anything you do in your View-class will by default be blocking calls for PolyScope.
I.e. if the user clicks a button in yout UI, and it waits for a reply that never comes, this may cause entire PolyScope to freeze.
If you are doing something that requires time like that, it is recommended to use a Timer and “invokeLater” as demonstrated in the MyDaemon example.