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 dc89bca commit 713fd6dCopy full SHA for 713fd6d
microscope/devices.py
@@ -620,6 +620,8 @@ def grab_next_data(self, soft_trigger=True):
620
:param soft_trigger: calls soft_trigger if True,
621
waits for hardware trigger if False.
622
"""
623
+ if not self.enabled:
624
+ raise Exception("Camera not enabled.")
625
self._new_data_condition.acquire()
626
# Push self onto client stack.
627
self.set_client(self)
0 commit comments