register_location_as_output_slot#
- TcpOslServer.register_location_as_output_slot(uid: str, location: Any, name: str | None = None, reference_value: Any | None = None) str #
Register a certain (output) location as a output slot.
- Parameters:
- uid: str
Actor uid.
- location: Any
Specification of location, depends on actor type.
- name: Optional[str], optional
Output slot name.
- reference_value: Optional[Any], optional
Output slot reference value.
- Returns:
str
Name of the actual created output slot.
- Raises:
OslCommunicationError
Raised when an error occurs while communicating with server.
OslCommandError
Raised when the command or query fails.
TimeoutError
Raised when the timeout float value expires.