from artiq.experiment import *
import numpy as np
class Test_dds(EnvExperiment):
"""dds_test"""
def build(self):
self.setattr_device("core")
self.setattr_device("urukul2_ch3")
@kernel
def run(self):
self.core.reset()
delay(100*ms)
self.urukul2_ch3.init()
delay(100*ms)
self.urukul2_ch3.sw.on()
delay(100*ms)
try:
self.urukul2_ch3.set(frequency=1000*kHz, amplitude=10.0)
delay(10000*ms)
self.urukul2_ch3.sw.off()
except:
print("Error")
hello,sorry to interrupt you!I tried this code but still fail,what is the problem with artiq5?can you help me