ControllerRestart Method |
Namespace: ABB.Robotics.Controllers
public void Restart()
Exception | Condition |
---|---|
GeneralException | |
UasRejectException | The current user does not have Grant to perform the operation. See RestartMode for nessecary authorization. |
ArgumentException | Parameter mode is not a valid restart mode. |
MasterRejectException | Mastership could not be obtained to perform the operation. |
using ABB.Robotics.Controllers; ... void WarmStartController() { Controller c = null; try { c = new Controller(); c.Restart(); } catch(System.Exception e) { // Exception handling } finally { // Dispose of any temporary resources if(c != null) c.Dispose(); c = null; } } ...