Files
ncs/script/tutorial/19_ContinuousScan.py
boccioli_m 79e9aac763 Startup
2015-09-02 10:39:31 +02:00

16 lines
466 B
Python

"""
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)