Skip to content

Commit

Permalink
AndorAtmcd.initialize: log.info number of available cameras.
Browse files Browse the repository at this point in the history
  • Loading branch information
carandraug committed Jan 10, 2023
1 parent 5e8d43a commit 2c806cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microscope/cameras/atmcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,7 @@ def initialize(self):
"""Initialize the library and hardware and create Setting objects."""
_logger.info("Initializing ...")
num_cams = GetAvailableCameras()
_logger.info("Found %d available cameras", num_cams)
if self._index >= num_cams:
msg = "Requested camera %d, but only found %d cameras" % (
self._index,
Expand Down

0 comments on commit 2c806cc

Please sign in to comment.