ControllerRestart Method (RestartMode) |
Restart the controller
Namespace:
ABB.Robotics.Controllers
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax Exceptions Examples This example performs a warmstart of the controller
using ABB.Robotics.Controllers;
...
public void WarmStartController()
{
try
{
RestartController(RestartMode.WarmStart);
}
catch(System.Exception e)
{
}
}
private void RestartController(RestartMode rMode)
{
Controller c = null;
try
{
c = new Controller();
c.Restart(rMode);
}
catch(System.Exception e)
{
}
finally
{
if(c != null)
c.Dispose();
c = null;
}
}
...
See Also