This commit is contained in:
30
script/cpy/testJepScan.py
Normal file
30
script/cpy/testJepScan.py
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
#r = tscan((sin,out), 100, 0.01)
|
||||
#vector = [ 1, 3, 5, 10, 25, 40, 45, 47, 49]
|
||||
#r = vscan(pv,(sin,out),vector,False, 0.5, title = "1D Vector")
|
||||
#r = mscan(sin,(sin,out),-1, 3,0)
|
||||
#r = rscan(pv,(sin,out) , [(0.0,5.0,1.0), (10.0,15.0,0.1), (20.0,25.0,1.0)] , 0.01)
|
||||
#r = cscan(motor, (sin,out), 0.0, 2.0 , steps=10.0, time=4.)
|
||||
|
||||
print (get_exec_pars().getPath())
|
||||
|
||||
def before_pass(pass_num):
|
||||
print ("Starting pass: " , pass_num)
|
||||
def after_pass(pass_num):
|
||||
print ("Finished pass: " , pass_num)
|
||||
|
||||
#set_exec_pars(layout="sf")
|
||||
|
||||
ret= lscan(inp, (sin,out), 0, 40, 50, 0.2, passes = 1, before_pass = before_pass, after_pass=after_pass,title = "Test")
|
||||
#ret= lscan(inp, (sin,out), 0, 40, 50, 0.2)
|
||||
|
||||
#set_exec_pars(then="run('test/test3.py)")
|
||||
#set_return([1.0, 3, [1,2,3,4]])
|
||||
#1/0
|
||||
#set_return("T\"es\"t")
|
||||
#set_return([3.0,2])
|
||||
set_return(ret)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user