You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|The ``sendScriptBlocking`` method will also accept valid URScript code, but blocks until the execution result of the given program is available.
36
37
|Prior to transferring the program it will first check that the robot is in a state where it can execute programs, otherwise an exception is thrown.
37
38
|If the robot is ready, the program is then transferred, and the method will wait for the robot to report that the program has either started, finished or encountered an error.
38
-
|If the program has not started within the given ``timeout``, the method throws an exception.
39
+
|If the program has not started within the given ``start_timeout``, the method throws an exception.
39
40
|If the robot encounters an error or runtime exception during program execution the method also throws an exception.
40
41
|If ``fail_on_warnings`` is true, it will also throw an exception, if the robot reports a warning during program execution. Note: protective stops are reported as warnings by the robot.
42
+
|If ``retry_on_readonly_interface`` is true, the method will restart the primary interface and retry sending the program, if the primary interface is read-only. It will retry once, and if the interface is still read-only, an exception will be thrown. If false, the exception will be thrown, without restarting/retrying.
41
43
|If no exceptions are thrown, the script has been executed successfully.
42
44
|This method also accepts secondary programs, but no feedback is available for those, so it will behave similarly to the ``sendScript`` method in those cases, except for the pre-transfer checks.
43
45
|The exact exceptions that are thrown in various cases can be seen in the `primary client header file <https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/include/ur_client_library/primary/primary_client.h>`_.
46
+
|Note: This method clears all stored error codes in the client during execution.
0 commit comments