python-damaris/tests/exp_test.py
Markus Rosenstihl 8991e61600 DAMARIS can now run scripts immediatly upon startup.
This is the first step towards a simple queing implementation.
2018-03-16 17:03:44 +01:00

12 lines
254 B
Python

def test():
e=Experiment()
e.ttl_pulse(length=1e-6, value=1)
e.wait(1e-3)
e.ttl_pulse(length=1e-6,value=1)
e.record(samples=1024,frequency=1e6,sensitivity=1)
return e
def experiment():
for i in range(1):
yield test()