From 1cc57e2345be79e6f07972d485ab4919695db216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Sun, 4 Sep 2022 21:00:24 +0000 Subject: [PATCH] fix len --- artiq/coredevice/phaser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/phaser.py b/artiq/coredevice/phaser.py index 9bf7f042e..caadc8fdc 100644 --- a/artiq/coredevice/phaser.py +++ b/artiq/coredevice/phaser.py @@ -383,6 +383,9 @@ class Phaser: abs(data_i - data_q) > 2): raise ValueError("DUC+oscillator phase/amplitude test failed") + if is_miqro: + channel.miqro.reset() + if is_baseband: continue @@ -1485,4 +1488,4 @@ class Miqro: data = [0, 0, 0] words = self.encode(window, profiles, data) delay_mu(-8*words) - self.pulse_mu(data[:words]) + self.pulse_mu(data[:words + 1])