From fc95dffd0b879f5d49213971815e9d13ccd0f419 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 28 Apr 2022 15:38:19 +0800 Subject: [PATCH] examples/no_hardware: port to NAC3 --- .../examples/no_hardware/repository/al_spectroscopy.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/artiq/examples/no_hardware/repository/al_spectroscopy.py b/artiq/examples/no_hardware/repository/al_spectroscopy.py index d48c2ead7..8566dc11a 100644 --- a/artiq/examples/no_hardware/repository/al_spectroscopy.py +++ b/artiq/examples/no_hardware/repository/al_spectroscopy.py @@ -22,17 +22,17 @@ class AluminumSpectroscopy(EnvExperiment): for count in range(100): self.mains_sync.gate_rising(1*s/60) at_mu(self.mains_sync.timestamp_mu(now_mu()) + 100*us) - delay(10*us) + self.core.delay(10.*us) self.laser_cooling.pulse(100*MHz, 100*us) - delay(5*us) + self.core.delay(5.*us) with parallel: self.spectroscopy.pulse(self.spectroscopy_freq, 100*us) with sequential: - delay(50*us) + self.core.delay(50.*us) self.spectroscopy_b.set(200) - delay(5*us) + self.core.delay(5.*us) while True: - delay(5*us) + self.core.delay(5.*us) with parallel: self.state_detection.pulse(100*MHz, 10*us) photon_count = self.pmt.count(self.pmt.gate_rising(10*us))