I am trying to pause the UR program and resume from the current program node if my URcap has met with any errors, similar to how UR reacts to protective stops or deviation of joints.
Any idea for me to do that? I have been trying to send pause command to dashboard server via socket embedded inside my URscript code. But it does not seem to be working well.
Thanks in advance!
If you want the user to know, that something went wrong, and prompt them, then you could also use the
popup() script code, which awaits the user to click “Continue” or “Stop” before continuing in the process.