check_ref_clock#

PQSC.check_ref_clock(*, timeout: float = 30.0, sleep_time: float = 1.0) bool[source]#

Check if reference clock is locked successfully.

Parameters:
  • timeout (float) – Maximum time in seconds the program waits (default: 30.0).

  • sleep_time (float) – Time in seconds to wait between requesting the reference clock status (default: 1)

Raises:

TimeoutError – If the process of locking to the reference clock exceeds the specified timeout.

Return type:

bool