Clear¶
-
void ICommandQueue.Clear()¶
Removes all command sequences and their commands from the queue and aborts the running command (if any).
- Throws
ResourceBusyException
– Axis associated with queue is part of an axis control group.ResourceBusyException
– Queue is in use by homing.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
The state of all command sequences and commands that were in the queue prior to clearing it will be CommandState.Failed and the queue state will be CommandQueueState.Idle. Calling this function while the queue is empty has no effect.