'''
Line Scan
'''

#import ch.psi.pshell.data.LayoutSF as LayoutSF
#LayoutSF.setExperimentArguments([sin, out])
#run("test/test2")
#et_exec_pars(name="new", open=True)


#print get_exec_pars().command.script
#run("test/testb")
#set_exec_pars(path="/usr/bin/oasldkasdaslkdlut", open=False)


#set_exec_pars(name="out", open=False)

print get_exec_pars().path
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, 10, 0.2, passes = 1, before_pass = before_pass, after_pass=after_pass,title = "Test")
  
#set_return([1.0, 3, [1,2,3,4]])

#set_return("T\"es\"t")
#set_return([3.0,2])
set_return(ret)
        