SetUnit¶
-
virtual void ISignal::SetUnit(const std::string &unit) = 0¶
Sets the unit of the signal.
- Parameters
unit – Unit of the signal.
- Throws
CUnsupportedException
– Changing unit not supported for this signal.COutOfResourcesException
– Out of memory while trying to store string.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.