From 73b7124091ac8341cea41fcb36f63c36c6e98676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 6 Nov 2018 17:03:37 +0800 Subject: [PATCH] test_ad9910: print sync scan for debugging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Jördens --- artiq/test/coredevice/test_ad9910.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/artiq/test/coredevice/test_ad9910.py b/artiq/test/coredevice/test_ad9910.py index 407755df6..d2d0bc793 100644 --- a/artiq/test/coredevice/test_ad9910.py +++ b/artiq/test/coredevice/test_ad9910.py @@ -76,8 +76,12 @@ class AD9910Exp(EnvExperiment): self.core.break_realtime() self.dev.cpld.init() self.dev.init() - dly, win = self.dev.tune_sync_delay(self.dev.sync_delay_seed) err = [0] * 32 + for i in range(6): + self.sync_scan(err, win=i) + print(err) + self.core.break_realtime() + dly, win = self.dev.tune_sync_delay(self.dev.sync_delay_seed) self.sync_scan(err, win=win + 1) # tighten window by 2*75ps self.set_dataset("dly", dly) self.set_dataset("win", win)