Closedown
This commit is contained in:
@@ -18,6 +18,7 @@ class Strategy(ch.psi.pshell.data.ScanPersistenceStrategyTable):
|
||||
global FILENAME, data_file
|
||||
name = controller.getExecutingContext() if FILENAME is None else FILENAME
|
||||
data_file = time.strftime('%Y%m%d_%H%M') + '_' + FILENAME + '_' + str(controller.dataManager.getScanIndex()).zfill(4)
|
||||
print "Opened data file: " + data_file
|
||||
return data_file
|
||||
controller.dataManager.setScanStrategy(Strategy())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user