*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 083c2b20 authored by Schabbauer, Johannes's avatar Schabbauer, Johannes Committed by Leolab Cavity CAD PC
Browse files

Remove unnecessary argument from init()

parent 10b31bd8
1 merge request!5Added Fastcomtec MCS8A timetagger for measurements with SPCM
......@@ -15,17 +15,14 @@ from blacs.tab_base_classes import Worker
class MCS8AWorker(Worker):
def init(self, h5_file):
def init(self):
self.config = spcm_config_start.setup
self.batch_file = self.config.get_config_key('Settings', 'batch_file')
self.process = subprocess.Popen(self.batch_file)
self.h5file = h5_file # run batch file
# Do the rest
self.process = subprocess.Popen(self.batch_file) # run batch file
# Do the rest
self.dll_path = self.config.get_config_key('Settings', 'dll_path')
self.dll=WinDLL(self.dll_path) #put DLL path into the conf file
print('init completed')
self.h5file = h5_file
pass
def transition_to_buffered(self, device_name, h5_file, initial_values, fresh):
self.h5file = h5_file
......
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