get_osl_version#

TcpOslServer.get_osl_version() OslVersion#

Get version of used optiSLang.

Returns:
OslVersion

optiSLang version as typing.NamedTuple containing major, minor, maintenance and revision versions.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

RuntimeError

Raised when parsing version numbers from string fails.

TimeoutError

Raised when the timeout float value expires.

Deprecated since version 0.5.0: Use TcpOslServer.osl_version instead.