CreateAxisControlGroup¶
-
IAxisControlGroup IController.CreateAxisControlGroup(string name, IAxisControl[] axes, ITemplate template = null)¶
Creates an axis control group with the specified name, using the specified axes and template.
- Parameters
name – Name of the new axis control group.
axes – Axis controls that will be part of the new axis control group.
template – Template used to create the axis control group.
- Returns
IAxisControlGroup – Created axis control group.
- Throws
NullArgumentException
– Null reference was passed.InvalidArgumentException
– Invalid name specified.InvalidArgumentException
– Empty axis control collection specified.InvalidArgumentException
– Too many axis controls specified (see product specific documentation).InvalidArgumentException
– Axis names are not unique.InvalidArgumentException
– Specified template is not of type TemplateType.Group.UnknownObjectException
– One or more axis controls are unknown, belong to an other controller.InvalidConfigException
– Invalid template definition.UnsupportedException
– Axis control groups are not supported.InvalidOperationException
– Axis control states of the specified axis controls are not compatible.ResourceBusyException
– One or more axis controls are already part of another axis control group, or queue of one or more axis controls is in running state.OutOfResourcesException
– Maximum number of axis control groups exceeded.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException
– Incompatible firmware version loaded.System.ObjectDisposedException
– Object is disposed.