forked from M-Labs/artiq
1
0
Fork 0
artiq/examples/collapse_test.py

14 lines
290 B
Python

def collapse_test():
for i in range(3):
with parallel:
with sequential:
pulse("a", 100*MHz, 10*us)
delay(10*us)
pulse("b", 100*MHz, 10*us)
delay(20*us)
with sequential:
pulse("a", 100*MHz, 10*us)
delay(10*us)
pulse("b", 100*MHz, 10*us)
delay(10*us)