Reboots the axis

Namespace: EAL.Interfaces.Motion
Assembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)

Syntax

C#
void Reboot(
	int timeOut
)
Visual Basic
Sub Reboot ( 
	timeOut As Integer
)
Visual C++
void Reboot(
	int timeOut
)

Parameters

timeOut
Type: System..::..Int32
Time out value for reboot

Examples

Synchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        ealConnection.Connect("192.168.0.10");                // Establishes connection
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.Reboot(150000);           // Reboots drive with timeout 150 seconds
    }
}
Asynchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection(true))  // Asynchronous flag is true
    {
        ealConnection.Connect("192.168.0.10");                // Connect task will be added to queue
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.Reboot(150000);           // Reboot drive task will be added to queue with time out 150 seconds
        ealConnection.WaitUntilQueueComplete(); // Wait until all the task in queue gets executed.
    }
}

See Also