artiq/examples/collapse_test.py

10 lines
222 B
Python
Raw Normal View History

def collapse_test():
for i in range(3):
with parallel:
with sequential:
2014-05-26 02:23:29 +08:00
pulse("a", 100*MHz, 20*us)
pulse("b", 100*MHz, 10*us)
with sequential:
2014-05-26 02:23:29 +08:00
pulse("A", 100*MHz, 10*us)
pulse("B", 100*MHz, 10*us)