wait_done#

ZIImpedanceModule.wait_done(step: int | None = None, *, timeout: float = 20.0, sleep_time: float = 0.5) None[source]#

Waits until the specified compensation step is complete.

Parameters:
  • step (int | None) – The compensation step to wait for completion.

  • timeout (float) – The maximum waiting time in seconds for the compensation to complete (default: 20).

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

Raises:

TimeoutError – The compensation is not completed before timeout.

Return type:

None