diff options
author | Humberto Jimenez <humberto.jimenez@ni.com> | 2018-11-28 09:53:51 -0600 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-29 11:38:43 -0800 |
commit | 3c134a29415e4f218e79e63d8890603e69cfe914 (patch) | |
tree | c13cec2a7f119ed77c96059ab2492d4462b24779 /mpm/python | |
parent | c26de63a6481970cbc4c84b110df72e29c46ee3d (diff) | |
download | uhd-3c134a29415e4f218e79e63d8890603e69cfe914.tar.gz uhd-3c134a29415e4f218e79e63d8890603e69cfe914.tar.bz2 uhd-3c134a29415e4f218e79e63d8890603e69cfe914.zip |
rh: Enable clock synchronization error checking
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/rh_init.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/rh_init.py b/mpm/python/usrp_mpm/dboard_manager/rh_init.py index 58e31e612..75811a626 100644 --- a/mpm/python/usrp_mpm/dboard_manager/rh_init.py +++ b/mpm/python/usrp_mpm/dboard_manager/rh_init.py @@ -99,13 +99,9 @@ class RhodiumInitManager(object): num_meas=[512, 128], target_offset=trace_delay_offset)) if offset_error > 100e-12: - self.log.error("Clock synchronizer measured an offset of {:.1f} ps!".format( - offset_error*1e12 - )) - self.log.warning("RuntimeError is not being thrown for Rhodium Rev. A") - # raise RuntimeError("Clock synchronizer measured an offset of {:.1f} ps!".format( - # offset_error*1e12 - # )) + self.log.error("Residual clock synchronization offset error is invalid! " + "Expected: <100 ps Actual: {:.1f} ps!".format(offset_error*1e12)) + raise RuntimeError("Clock synchronization offset error is greater than expected.") else: self.log.debug("Residual synchronization error: {:.1f} ps.".format( offset_error*1e12 |