New ScreenPanel
This commit is contained in:
23
script/test17.py
Executable file
23
script/test17.py
Executable file
@@ -0,0 +1,23 @@
|
||||
"""
|
||||
Line Scan with 2 writables and triggering
|
||||
"""
|
||||
|
||||
index=0
|
||||
|
||||
x=0
|
||||
def AfterReadout(rec):
|
||||
global x
|
||||
print rec.getIndex() ,
|
||||
print " - ",
|
||||
print rec.values
|
||||
|
||||
|
||||
if rec.index==10 and x==0:
|
||||
x=1
|
||||
time.sleep(3.0)
|
||||
rec.invalidate()
|
||||
|
||||
|
||||
|
||||
|
||||
a= lscan((inp), (sin,out,arr), (0,), (40,), 20, 0.1, after_read=AfterReadout)
|
||||
Reference in New Issue
Block a user