Microscope Control - derangedhk417/MicroscopeControl GitHub Wiki
Introduction
The MicroscopeControl.py file contains the MicroscopeController
class, which encapsulates all of the functionality of the CameraController, FocusController and StageController classes. When instantiated with no arguments, MicroscopeController
will attempt to automatically connect to the camera, focus/zoom motors and stage. It does this by attempting to connect to com ports 0 through 9 and sending commands to them if it can connect. It will not consider a connection successful unless it sends a command and receives a properly formed response.
Automatic connection will almost certainly not work out of the box on Unix systems. If you are using this code on a Unix system, you'll have to manually specify the port and baudrate for each device.