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

34
script/test1.py Executable file
View File

@@ -0,0 +1,34 @@
'''
Line Scan
'''
#setup_plotting(plot_list = (sin,out))
#x = 2/0
print get_exec_pars().path
#a= lscan(inp, (sin,out,arr), 0, 40, 10, 0.2)
ret= tscan(sin, 10, 0.1)
p = get_exec_pars()
print p.getPath()
print p.getScanPath()
path = get_exec_pars().group
#save_dataset(path + "data", a.getReadable(0) )
#set_attribute(path + "data", "Temp", 39.0)
set_attribute(path, "AttrString", "Value")
set_attribute(path, "AttrInteger", 1)
set_attribute(path, "AttrDouble", 2.0)
set_attribute(path, "AttrBoolean", True)
set_attribute(path, "AttrArr", [1,2,3])
set_attribute(path + "sin", "Temp", 39.0)
#set_return([1.0, 3, [1,2,3,4]])
#set_return("T\"es\"t")
#set_return([3.0,2])