send_command#

TcpOslServer.send_command(command: str) Dict#

Send command or query to the optiSLang server.

Parameters:
commandstr

Command or query to be executed on optiSLang server.

Returns:
Dict

Response from the server.

Raises:
RuntimeError

Raised when the optiSLang server is not started.

OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout expires.