test/coredevice: fix timestamp conflict

This commit is contained in:
Sebastien Bourdeauducq 2015-07-02 10:26:00 +02:00
parent 984e82b82a
commit 74f07092c7
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ class RTT(Experiment, AutoDB):
self.ttl_inout.output() self.ttl_inout.output()
delay(1*us) delay(1*us)
with parallel: with parallel:
self.ttl_inout.gate_rising(2*us) # make sure not to send two commands into the same RTIO
# channel with the same timestamp
self.ttl_inout.gate_rising(5*us)
with sequential: with sequential:
delay(1*us) delay(1*us)
t0 = now_mu() t0 = now_mu()