﻿aaaaaaaaaaaaaaaaaaaaafrom artiq.experiment import*
class code(EnvExperiment):
    def build(self):
        self.setattr_device('core')
        self.setattr_device('ttl16')
        self.setattr_device('ttl17')
        self.setattr_device('ttl18')
        self.setattr_device('ttl19')
        self.setattr_device('ttl20')
        self.setattr_device('ttl21')
    def run(self):
        self.ttl18.on()
        delay(200000.0*us)
        self.ttl20.on()
        delay(100000.0*us)
        self.ttl17.on()
        delay(100000.0*us)
        self.ttl16.on()
        delay(0.0*us)
        self.ttl17.off()
        delay(100000.0*us)
        self.ttl20.off()
        delay(200000.0*us)
        self.ttl16.off()
        delay(0.0*us)
        self.ttl18.off()
        delay(1000000.0*us)
