I am trying to test my Zotino by outputting through IDC-BNC adapter into an oscilloscope. The Artiq dashboard shows Zotino outputting between 0-100% depending on the set point (-10.0 to 10.0 in the code [e.g. 5.0v=75%]). However, regardless of the output in dashboard, I am getting no readings on the oscilloscope. Another issue I am having is that if I try to run zotino.init(blind=False), I get the error:
root:Terminating with exception (ValueError: DAC CONTROL readback mismatch)
Below is the code I am running. The code will run with blind=True and it sets the Zotino output accordingly in the dashboard but not in oscilloscope. If run with blind=False, it gives the error above.
from artiq.experiment import *
class SimpleZotino(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("zotino0")
@kernel
def run(self):
self.core.reset()
self.zotino0.init(blind=False)
delay(10*ms)
self.zotino0.write_dac(0, 5.0)
delay(10*ms)
self.zotino0.load()