register_location_as_internal_variable#

abstract IntegrationNode.register_location_as_internal_variable(location: Any, name: str | None = None, reference_value: Any | None = None) str#

Register the given location as an internal variable.

Parameters:
locationAny

Location to be registered.

nameOptional[str], optional

Name of the registered internal variable, by default None.

reference_valueOptional[Any], optional

Reference value of the registered internal variable, by default None.

Returns:
str

Name of the actual created internal variable.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails.

TimeoutError

Raised when the timeout float value expires.