Click or drag to resize

TaskResetProgramPointer Method

Resets the program pointer of this task to its main routine.

Namespace:  ABB.Robotics.Controllers.RapidDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public void ResetProgramPointer()
Remarks
If the controller is currently executing, the method call will be ignored.
Examples
This example resets the program pointer.
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];
...
firstTask.ResetProgramPointer();
...
See Also