Skip to content
Permalink
Browse files

kasli_tester: do not attempt to synchronize AD9912 Urukul

  • Loading branch information...
sbourdeauducq committed Mar 15, 2019
1 parent adcd79e commit a01425bc9c591804fb9c21f7ba8d6eb3ec2f725a
Showing with 3 additions and 1 deletion.
  1. +3 −1 artiq/examples/kasli_basic/repository/kasli_tester.py
@@ -3,6 +3,7 @@
import select

from artiq.experiment import *
from artiq.coredevice.ad9910 import AD9910

if os.name == "nt":
import msvcrt
@@ -224,7 +225,8 @@ def test_urukuls(self):

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))

0 comments on commit a01425b

Please sign in to comment.
You can’t perform that action at this time.