I currently have Artiq installed on a Pipistrello and have run various
ttl tests using artiq_run to my satisfaction.

I am now continuing through the tutorial. When I tried the following.

def run(self):
    parabola = self.set_dataset("parabola", [], broadcast=True)
    for i in range(int(self.count)):
        parabola.append(i*i)
        time.sleep(0.5)

I received the error
root:Terminating with exception (AttributeError: 'NoneType' object has
no attribute 'append')

I worked around this by using the following code

def run(self):
    parabola=[]
    for i in range(int(self.count)):
        parabola.append(i*i)
        time.sleep(0.5)
    self.set_dataset("parabola", parabola, broadcast=True)
_______________________________________________
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq

Reply via email to