mirror of https://github.com/m-labs/artiq.git
test_pulse_rate_dds: adjust bounds.
This commit is contained in:
parent
e908a5fceb
commit
14caa2713c
|
@ -115,7 +115,7 @@ class PulseRateDDS(EnvExperiment):
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
dt = seconds_to_mu(50*us)
|
dt = seconds_to_mu(5*us)
|
||||||
while True:
|
while True:
|
||||||
delay(10*ms)
|
delay(10*ms)
|
||||||
for i in range(1250):
|
for i in range(1250):
|
||||||
|
@ -263,8 +263,8 @@ class CoredeviceTest(ExperimentCase):
|
||||||
self.execute(PulseRateDDS)
|
self.execute(PulseRateDDS)
|
||||||
rate = self.dataset_mgr.get("pulse_rate")
|
rate = self.dataset_mgr.get("pulse_rate")
|
||||||
print(rate)
|
print(rate)
|
||||||
self.assertGreater(rate, 100*us)
|
self.assertGreater(rate, 5*us)
|
||||||
self.assertLess(rate, 150*us)
|
self.assertLess(rate, 25*us)
|
||||||
|
|
||||||
def test_loopback_count(self):
|
def test_loopback_count(self):
|
||||||
npulses = 2
|
npulses = 2
|
||||||
|
|
Loading…
Reference in New Issue