Commit 9f168d1f authored by Martin Drechsler's avatar Martin Drechsler

some changes

parent d9ca3b4a
......@@ -738,8 +738,6 @@ class AndorBase(SDK3Camera):
self._live_acq_auxs = a_s, px_encoding, xs, ys, bufs
def live_acquisition_loop(self):
t = threading.currentThread()
while getattr(t, "do_run", True):
......
......@@ -5,7 +5,7 @@ Created on Thu Apr 4 11:10:20 2019
@author: martindrech
Por ahora, aca se va a crear una imagen cada cierto tiempo y eso se va a mandar a toy_gui para plotearse ahi
"""
import numpy as np
......@@ -39,7 +39,7 @@ class CameraWorker(QtCore.QObject):
frontend.sb.valueChanged.connect(lambda x = frontend.sb.value(): self.cam.ExposureTime.setValue(x))
#internal connections
self.cam.helper.imageAquiredSignal.connect(self.acquire)
self.cam.helper.imageAquiredSignal.connect(self.new_image_acquired)
def __del__(self):
......@@ -75,7 +75,7 @@ class CameraWorker(QtCore.QObject):
@QtCore.pyqtSlot()
def acquire(self):
def new_image_acquired(self):
#print('acquiring')
self.imageReadySignal.emit(self.cam.current_image)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment