Initializes a new instance of the
Controller class, which is used to access the different domains of the controller.
Namespace:
ABB.Robotics.Controllers
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax Exceptions Remarks You must call the Dispose(Boolean) method to avoid a memory leak when the instance is no longer needed.
A good rule is to create only one instance of this class and use it throughout your application.
Examples This example creates a
Controller instance in the constructor of the
application. At places where a
Controller is needed a reference to the instance
created in the constructor is used.
private Controller myControllerRef = null;
public TpsViewRefDoc()
{
InitializeComponent();
myControllerRef = new Controller();
this.InitRapidData(myControllerRef);
}
See Also