This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

View File

@@ -0,0 +1,23 @@
index=0
set_exec_pars(tag="scan {count} {count}%02d {index}%04d")
def calc():
global index
index += 1
ret= tscan(sin, 10, 0.1)
#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)
#ret= lscan(inp, (d), 0, 40, 5, 0.2)