We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0592368 commit 0058fd9Copy full SHA for 0058fd9
microscope/devices.py
@@ -614,6 +614,8 @@ def grab_next_data(self, soft_trigger=True):
614
:param soft_trigger: calls soft_trigger if True,
615
waits for hardware trigger if False.
616
"""
617
+ if not self.enabled:
618
+ raise Exception("Camera not enabled.")
619
self._new_data_condition.acquire()
620
# Push self onto client stack.
621
self.set_client(self)
0 commit comments