Click or drag to resize

ControllerRestart Method

Warmstart the controller

Namespace:  ABB.Robotics.Controllers
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public void Restart()
Exceptions
ExceptionCondition
GeneralException
UasRejectExceptionThe current user does not have Grant to perform the operation. See RestartMode for nessecary authorization.
ArgumentExceptionParameter mode is not a valid restart mode.
MasterRejectExceptionMastership could not be obtained to perform the operation.
Examples
This example performs a warmstart of the controller
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;
  }
}
...
See Also