stop#

TcpOslServer.stop(wait_for_finished: bool = True) None#

Stop project execution.

Parameters:
wait_for_finishedbool, optional

Determines whether this function call should wait on the optiSlang to finish the command execution. I.e. don’t continue on next line of python script after command was successfully sent to optiSLang but wait for execution of command inside optiSLang. Defaults to True.

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.