Dashboard Stop command not working

Hi,

we use the “stop” dashboard command to stop/pause the simple scripts we send to the robot via primary connection. It normally works well:

[Urscript] def Movej(…) … → move the robot
[Dashboard]: “Stop” → stop the robot

Now we are using a more complex ur script with threads, force controls, etc… and the dashboard stop command doesn’t work at all. We send it during the execution and the robot doesn’t end the program.

Any idea how to solve this?

Thanks in advance!