mirror of https://github.com/m-labs/artiq.git
artiq_sinara_tester: fix handling of IO_UPDATE with SU-Servo
This commit is contained in:
parent
d9b01ed81a
commit
946254d22e
|
@ -101,7 +101,8 @@ class SinaraTester(EnvExperiment):
|
||||||
sw_device = desc["arguments"]["sw_device"]
|
sw_device = desc["arguments"]["sw_device"]
|
||||||
del self.ttl_outs[sw_device]
|
del self.ttl_outs[sw_device]
|
||||||
elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"):
|
elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"):
|
||||||
io_update_device = desc["arguments"]["io_update_device"]
|
io_update_device = desc["arguments"].get("io_update_device", None)
|
||||||
|
if io_update_device is not None:
|
||||||
del self.ttl_outs[io_update_device]
|
del self.ttl_outs[io_update_device]
|
||||||
elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"):
|
elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"):
|
||||||
cnv_device = desc["arguments"]["cnv_device"]
|
cnv_device = desc["arguments"]["cnv_device"]
|
||||||
|
|
Loading…
Reference in New Issue