mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
urukul,ad9910: print speed metrics
Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
32d538f72b
commit
89fecfab50
@ -147,11 +147,15 @@ class AD9910Test(ExperimentCase):
|
||||
|
||||
def test_set_speed(self):
|
||||
self.execute(AD9910Exp, "set_speed")
|
||||
self.assertLess(self.dataset_mgr.get("dt"), 70*us)
|
||||
dt = self.dataset_mgr.get("dt")
|
||||
print(dt)
|
||||
self.assertLess(dt, 70*us)
|
||||
|
||||
def test_set_speed_mu(self):
|
||||
self.execute(AD9910Exp, "set_speed_mu")
|
||||
self.assertLess(self.dataset_mgr.get("dt"), 10*us)
|
||||
dt = self.dataset_mgr.get("dt")
|
||||
print(dt)
|
||||
self.assertLess(dt, 10*us)
|
||||
|
||||
def test_sync_window(self):
|
||||
self.execute(AD9910Exp, "sync_window")
|
||||
|
@ -122,7 +122,9 @@ class UrukulTest(ExperimentCase):
|
||||
|
||||
def test_switch_speed(self):
|
||||
self.execute(UrukulExp, "switch_speed")
|
||||
self.assertLess(self.dataset_mgr.get("dt"), 3*us)
|
||||
dt = self.dataset_mgr.get("dt")
|
||||
print(dt)
|
||||
self.assertLess(dt, 3*us)
|
||||
|
||||
def test_switches_readback(self):
|
||||
self.execute(UrukulExp, "switches_readback")
|
||||
@ -138,7 +140,9 @@ class UrukulTest(ExperimentCase):
|
||||
|
||||
def test_att_speed(self):
|
||||
self.execute(UrukulExp, "att_speed")
|
||||
self.assertLess(self.dataset_mgr.get("dt"), 3*us)
|
||||
dt = self.dataset_mgr.get("dt")
|
||||
print(dt)
|
||||
self.assertLess(dt, 3*us)
|
||||
|
||||
def test_io_update(self):
|
||||
self.execute(UrukulExp, "io_update")
|
||||
|
Loading…
Reference in New Issue
Block a user