diff --git a/build/lib/iexcode/instruments/scanRecord.py b/build/lib/iexcode/instruments/scanRecord.py index 32fc1cdc2c495b4f9872a1dedcdddaf4f0202b4d..5fd1840efa09c6988477de28ef231cdc7c7ee926 100644 --- a/build/lib/iexcode/instruments/scanRecord.py +++ b/build/lib/iexcode/instruments/scanRecord.py @@ -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) diff --git a/iexcode/instruments/scanRecord.py b/iexcode/instruments/scanRecord.py index ce9ae011609b348d654c4de12597a74f6874806b..5fd1840efa09c6988477de28ef231cdc7c7ee926 100644 --- a/iexcode/instruments/scanRecord.py +++ b/iexcode/instruments/scanRecord.py @@ -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)