CreateParameterSet¶
-
ILockableParameterSet IRobot.CreateParameterSet(string name, System.Collections.IEnumerable<ISignal> signals)¶
Creates a lockable parameter set with the specified name and the specified signals.
- Parameters
name – Name of the parameter set.
signals – Signals in the parameter set.
- Returns
ILockableParameterSet – Created parameter set.
- Throws
NullArgumentException
– Null reference was passed.InvalidArgumentException
– Invalid name specified.InvalidArgumentException
– No signals specified.InvalidArgumentException
– Too many signals specified (see product specific documentation).InvalidArgumentException
– Signal is not writable.InvalidArgumentException
– Specified signal is not part of this robot or one of its children.InvalidArgumentException
– Specified signal maps to a sub-controller which implies a single cycle switch cannot be guaranteed.InvalidArgumentException
– Signal that is not part of the robot topology is provided.InvalidOperationException
– Can only create parameter set when robot is completed.UnknownObjectException
– One or more signals are unknown, belong to an other controller.OutOfResourcesException
– No parameter set available.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.