diff --git a/script/test1.py b/script/test1.py index 67f87fc..daeb97a 100644 --- a/script/test1.py +++ b/script/test1.py @@ -3,7 +3,8 @@ Line Scan """ #setPreference("enabledPlots",(sin,out)) -a= lscan(inp, (sin,out,arr), 0, 40, 10, 0.1) +#def lscan(writables, readables, start, end, steps, latency=0.0, relative = False, context=None, before_read=None, after_read=None): +a= lscan(inp, (sin,out,arr), 0, 40, 10, 0.1, context = "Scan1") path = get_current_data_group() set_attribute(path, "AttrString", "Value") diff --git a/script/test4.py b/script/test4.py index 32ec3aa..6f318bc 100644 --- a/script/test4.py +++ b/script/test4.py @@ -8,4 +8,5 @@ vector = [ [1,1] , [1,2] , [1,3] , [1,4] , [2.5,2.5] , [3,1] , [3,2] , [3,3] , [3,4] ] -a= vscan((dev,inp),(sin,out),vector,0.1) +#def vscan(writables, readables, vector, latency=0.0, relative = False, context=None, before_read=None, after_read=None): +a= vscan((dev,inp),(sin,out),vector,0.5)