True, if all task from the queue are compleated.
Namespace: EAL.InterfacesAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
bool IsQueueCompleated { get; } |
Visual Basic |
---|
ReadOnly Property IsQueueCompleated As Boolean Get |
Visual C++ |
---|
property bool IsQueueCompleated { bool get (); } |
Property Value
Type: BooleanExamples
Asynchronous method
Copy | |
---|---|
private static void Sample() { IEALConnection ealConnection = new EALConnection(true); try { ealConnection.Connect("192.168.0.10", false, 10000, 2000, 500); // Eatablishes connection, with give least time, given busy timeout and with given max delay // task will be added to queue IAxis axis = ealConnection.Motion.Axes[0]; // Gets axis axis.Movement.Power(false); // Powers-off task will be added to the queue axis.SetCondition(AxisCondition.AXIS_CONDITION_ACTIVE_PARAMETERIZATION); // Activate parameterisation mode task will be added to queue ealConnection.Initialize(); // Initialize the axis task will be added to queue axis.SetCondition(AxisCondition.AXIS_CONDITION_ACTIVE); // Activate Operating mode task will be added to queue axis.Movement.Power(true); // Powers on task will be added to queue. axis.Movement.Home(); // Homing task will be added to queue. axis.Movement.MoveAbsolute(10000, 400, 100, 100, 0); // Moves the axis to position 10000 // task will be added to queue. axis.Movement.Wait(100000); // Waits until last movement command completes // task will be added to queue. } finally { Thread.Sleep(200000); Console.WriteLine("Queue completed state:" + ealConnection.IsQueueCompleated); ealConnection.Disconnect(); // Disconnect task will be added to queue ealConnection.WaitUntilQueueComplete(); // Now it will wait untill all are executed. } } |