check_ref_clock#

PQSC.check_ref_clock(*, timeout: int = 30, sleep_time: int = 1) bool[source]#

Check if reference clock is locked successfully.

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

  • sleep_time (int) – 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