From a01425bc9c591804fb9c21f7ba8d6eb3ec2f725a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 15 Mar 2019 17:13:29 +0800 Subject: [PATCH] kasli_tester: do not attempt to synchronize AD9912 Urukul --- artiq/examples/kasli_basic/repository/kasli_tester.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/examples/kasli_basic/repository/kasli_tester.py b/artiq/examples/kasli_basic/repository/kasli_tester.py index 37f14c67e..fecc6e21d 100644 --- a/artiq/examples/kasli_basic/repository/kasli_tester.py +++ b/artiq/examples/kasli_basic/repository/kasli_tester.py @@ -3,6 +3,7 @@ import os import select from artiq.experiment import * +from artiq.coredevice.ad9910 import AD9910 if os.name == "nt": import msvcrt @@ -224,7 +225,8 @@ class KasliTester(EnvExperiment): print("Calibrating inter-device synchronization...") for channel_name, channel_dev in self.urukuls: - if channel_dev.sync_delay_seed_eeprom is None and channel_dev.io_update_delay_eeprom is None: + if (not isinstance(channel_dev, AD9910) or + (channel_dev.sync_delay_seed_eeprom is None and channel_dev.io_update_delay_eeprom is None)): print("{}\tno synchronization".format(channel_name)) elif channel_dev.sync_delay_seed_eeprom is not channel_dev.io_update_delay_eeprom: print("{}\tunsupported EEPROM configuration".format(channel_name))