Gets negative velocity limit

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

Syntax

C#
double GetVelocityLimitNeg()
Visual Basic
Function GetVelocityLimitNeg As Double
Visual C++
double GetVelocityLimitNeg()

Return Value

Type: Double
Negetive velocity limit

Examples

Synchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        ealConnection.Connect("192.168.0.10");                            // Connects to real drive
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.SetVelocityLimitNeg(1000);            // Sets negetive velocity limit 
        double velocityLimitNeg = axis.GetVelocityLimitNeg();  // velocityLimitNeg will be 1000
    }
}
Asynchronous method
 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection(true))  // Asynchronous flag is true
    {
        ealConnection.Connect("192.168.0.10");                            // Adds Connect task to queue        
        IAxis axis = ealConnection.Motion.Axes[0];        // Gets axis
        axis.SetVelocityLimitNeg(1000);            // Sets negetive velocity limit task will be added to queue
        ealConnection.WaitUntilQueueComplete();             // Waits untill queue completes
        double velocityLimitNeg = axis.GetVelocityLimitNeg();  // velocityLimitNeg will be 1000
    }
}

See Also