start#

TcpOslServer.start(wait_for_started: bool = True, wait_for_finished: bool = True) None#

Start project execution.

Parameters:
wait_for_startedbool, optional

Determines whether this function call should wait on the optiSlang to start 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 flow inside optiSLang to start. Defaults to True.

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 flow inside optiSLang to finish. This implicitly interprets wait_for_started as True. 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.