@kernel
def RABI(self):
self.core.reset()
delay(10ms)
self.urukul0_cpld.init()
self.urukul0_ch0.init()
self.urukul0_ch0.sw.on()
self.urukul0_ch0.set_att(2.0)
delay(10ms)
try:
for i in range(10000):
#Dopplor_cooling
self.ttl4.on()
self.ttl6.on()
self.ttl8.on()
delay(3*ms)
#态制备
self.ttl4.off()
self.ttl10.on()
delay(500*us)
#边带冷却
self.urukul0_ch0.set(3.0)
delay(20*ms)
self.ttl10.off()
#Rabi扫描
self.ttl8.off()
delay(5*ns)
#态探测
self.ttl4.on()
delay(6*ms)
self.ttl4.off()
self.ttl6.off()
delay(7*ms)
I am wondering why the procedure does,t work when point out a number in range(),but if in range(self.round) and self.round is a changing value.