Clears the error
Namespace: EAL.Interfaces.MotionAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
void ClearError() |
Visual Basic |
---|
Sub ClearError |
Visual C++ |
---|
void ClearError() |
Examples
Synchronous method
Asynchronous method
Copy | |
---|---|
private static void Sample() { using (IEALConnection ealConnection = new EALConnection()) { ealConnection.Connect("192.168.0.10"); // Connect to the drive IAxis axis = ealConnection.Motion.Axes[0]; // Gets axis axis.ClearError(); // Clears errors } } |
Copy | |
---|---|
private static void Sample() { using (IEALConnection ealConnection = new EALConnection(true)) // Asynchronous flag is true { ealConnection.Connect("192.168.0.10"); // Connect to the real axis task will be added to queue. IAxis axis = ealConnection.Motion.Axes[0]; // Gets axis axis.ClearError(); // Clear error task will be added to queue ealConnection.WaitUntilQueueComplete(); // Wait until all tasks in the queue are being executed } } |