Click or drag to resize

TaskExecutionType Property

Gets the current execution type of the task.

Namespace:  ABB.Robotics.Controllers.RapidDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public ExecutionType ExecutionType { get; }

Property Value

Type: ExecutionType
Returns the ExecutionType.
Examples
This examples shows how the current execution type is retrieved.
using ABB.Robotics;
using ABB.Robotics.Controllers;
using ABB.Robotics.Controllers.RapidDomain;
...
Controller c = new Controller();
Task[] allTasks = c.Rapid.GetTasks();
Task firstTask = allTasks[0];
ExecutionType type = firstTask.ExecutionType;
if (type == ExecutionType.Normal)
{
   // normal execution, do something

}
else if (type == ExecutionType.UserRoutine)
{
   // do something else

}
See Also