Queue¶
-
void ICommandQueue.Queue(ICommandSequence sequence, CommandQueuePriority prio = CommandQueuePriority.Normal)¶
Queues the commands of the specified command sequence without waiting for execution to complete.
- Parameters
sequence – Command sequence containing commands to be queued.
prio – Queue priority for the command.
- Throws
NullArgumentException– Null reference was passed.InvalidArgumentException– Command sequence does not belong to this queue.InvalidArgumentException– Unknown priority specified.InvalidConfigException– Command sequence set as event response.InvalidConfigException– Invalid configuration of command(s) in the command sequence.InvalidOperationException– Command state not “Idle”.InvalidOperationException– Top-controller state is not “Run”.ResourceBusyException– Axis associated with queue is part of an axis control group.ResourceBusyException– CommandQueue is in use by homing.ResourceBusyException– Command sequence is claimed by event response.OutOfResourcesException– Queue is full. See product specific documentation.CommunicationErrorException– Protocol error.ConnectionLostException– Connection to controller lost.RebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.