Skip to content
Snippets Groups Projects
Commit 5f20fca2 authored by jmcchesn's avatar jmcchesn
Browse files

debugging scanRecord

parent 7e15ee28
No related branches found
No related tags found
No related merge requests found
......@@ -709,7 +709,8 @@ class ScanRecord:
kwargs.setdefault('execute',True)
kwargs.setdefault('num_points',True)
self.fillin("","",0,npts,1,**kwargs)
sleep(.1)
if kwargs['execute']:
self.go(**kwargs)
......@@ -718,10 +719,14 @@ class ScanRecord:
starts a scan with the readback as time in seconds
**kwargs
trigger_dictionary = {1:'29idb:ca5:read'} (default)
execute True/False (default = True)
trigger_dictionary = {1:'29idb:ca5:read'}
Previously: Scan_Time_Go
"""
kwargs.setdefault('execute',True)
stop=duration_min*60.0/step_sec
self.fillin("","time",1,stop,1,**kwargs)
......
......@@ -710,7 +710,7 @@ class ScanRecord:
kwargs.setdefault('num_points',True)
self.fillin("","",0,npts,1,**kwargs)
sleep(.1)
if kwargs['execute']:
self.go(**kwargs)
......@@ -719,10 +719,14 @@ class ScanRecord:
starts a scan with the readback as time in seconds
**kwargs
trigger_dictionary = {1:'29idb:ca5:read'} (default)
execute True/False (default = True)
trigger_dictionary = {1:'29idb:ca5:read'}
Previously: Scan_Time_Go
"""
kwargs.setdefault('execute',True)
stop=duration_min*60.0/step_sec
self.fillin("","time",1,stop,1,**kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment