Startup
This commit is contained in:
15
script/tutorial/19_ContinuousScan.py
Normal file
15
script/tutorial/19_ContinuousScan.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Demonstrate the use of Continuous Scan Scan: a Linear Scan with continuous motor move and
|
||||
sampling on the fly.
|
||||
"""
|
||||
|
||||
#A single motor at current speed
|
||||
a= cscan(m1, (ai1,ai2), -2, 3 , steps=100, relative=True)
|
||||
|
||||
|
||||
#A single motor in a given time
|
||||
a= cscan(m1, (ai1,ai2), -2.0, 3.0, steps=100 ,time = 4.0, relative=True)
|
||||
|
||||
#Multiple motors in a given time
|
||||
a= cscan((m1, m2), (ai1,ai2), (-2.0, -3), (3.0, 5.0), steps=100,time = 4.0, relative=True)
|
||||
|
||||
Reference in New Issue
Block a user