mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
examples/photon_histogram: delay after count()
This commit is contained in:
parent
2b447055e5
commit
2b506a3c4b
@ -54,6 +54,7 @@ class PhotonHistogram(EnvExperiment):
|
||||
total = 0
|
||||
|
||||
for i in range(self.repeats):
|
||||
delay(0.5*ms)
|
||||
n = self.cool_detect()
|
||||
if n >= self.nbins:
|
||||
n = self.nbins - 1
|
||||
|
Loading…
Reference in New Issue
Block a user