New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

17
script/15_ContinuousScan.js Executable file
View File

@@ -0,0 +1,17 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// Demonstrate the use of Continuous Scan Scan: a Linear Scan with continuous motor move and
// sampling on the fly.
///////////////////////////////////////////////////////////////////////////////////////////////////
m1.move(0.0)
//A single motor at current speed
r1 = cscan(m1, (ai1,ai2), -2, 3 , steps=10, undefined, undefined ,true)
//A single motor in a given time
r2 = cscan(m1, (ai1,ai2), -2.0, 3.0, 100 , undefined , 4.0, true)
//Multiple motors in a given time
r3 = cscan((m1, m2), (ai1,ai2), (-2.0, -3), (3.0, 5.0), steps=100, undefined, time = 4.0, relative=true)