This commit is contained in:
2015-08-18 10:32:00 +02:00
parent e6068f80ab
commit 50c69c1fc9
22 changed files with 723 additions and 163 deletions
+15
View File
@@ -0,0 +1,15 @@
"""
Example on running simultaneous scans. They should not manipulate same writables
"""
def scan1():
print "scan1"
return lscan(ao1, ai1, 0, 40, 20, 0.1, context = "scan1")
def scan2():
print "scan2"
return lscan(ao2, wf1, 0, 40, 20, 0.1, context = "scan2")
parallelize(scan1, scan2)