wait_done#

BaseModule.wait_done(*, timeout: float = 20.0, sleep_time: float = 0.5) None[source]#

Waits until the module is finished.

Warning: Only usable for modules that make use of the /finished node.

Parameters:
  • timeout (float) – The maximum waiting time in seconds for the measurement (default: 20).

  • sleep_time (int) – Time in seconds to wait between requesting sweeper state. (default: 0.5)

Raises:

TimeoutError – The measurement is not completed before timeout.

Return type:

None