Skip to content

Commit

Permalink
daemonize acquisition thread
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbe committed Apr 9, 2018
1 parent e6624e3 commit 9fb4560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions andorEmccd/andorEmccd.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AndorEmccd:
is not acquiring"""
dll = None

def __init__(self, leave_camera_warm=True, framebuffer_len=1000):
def __init__(self, leave_camera_warm=True, framebuffer_len=100):
"""Initialise the camera interface.
leave_camera_warm: turn off the cooler when disconnecting from the
Expand Down Expand Up @@ -98,7 +98,7 @@ def __init__(self, leave_camera_warm=True, framebuffer_len=1000):
self._frame_call_list = []

# Start image acquisition thread
t = threading.Thread(target=self._acquisition_thread)
t = threading.Thread(target=self._acquisition_thread, daemon=True)
t.start()

def __del__(self):
Expand Down

0 comments on commit 9fb4560

Please sign in to comment.