This commit is contained in:
2018-01-24 12:03:38 +01:00
parent 2438c5ead0
commit 3f5df06b7d
3 changed files with 24 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
#Fri Jan 19 10:56:01 CET 2018
#Wed Jan 24 12:02:38 CET 2018
autoSaveScanData=true
createSessionFiles=false
dataLayout=default
dataLayout=table
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{name}
dataProvider=h5
dataProvider=txt
dataScanFlushRecords=false
dataScanPreserveTypes=false
dataScanReleaseRecords=false

Binary file not shown.

21
script/test/TestNested.py Normal file
View File

@@ -0,0 +1,21 @@
index=0
def calc():
global index
index += 1
ret= tscan(sin, 10, 0.1, tag="scan " + str(index))
#ret= tscan(sin, 10, 0.1)
v = max(ret.getReadable(0))
return float(v)
class PseudoDev(Readable):
def read(self):
return calc()
d= PseudoDev()
ret= lscan(inp, (d), 0, 40, 5, 0.2, tag="output")
#ret= lscan(inp, (d), 0, 40, 5, 0.2)