CreateAxisControl¶
-
IAxisControl IController.CreateAxisControl(string name, ITemplate template)¶
Creates an axis control with the specified name, using the specified template.
- Parameters
name – Name of the axis control.
template – Template used to create the axis control.
- Returns
IAxisControl – Created axis control.
- Throws
NullArgumentException– Null reference was passed.InvalidArgumentException– Invalid name specified.InvalidArgumentException– Specified template is not of type TemplateType.AxisControl.InvalidConfigException– Invalid template definition.UnsupportedException– Axis control creation is not supported.InvalidOperationException– Axis control can not be created while top-controller state is not “Config”.OutOfResourcesException– Maximum number of axis controls 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.