connect#
method
- SCICAM.connect(serialno: str, local: bool = False, bit_depth: int = 8, color: bool = True, exposure: int = 90, brightness: int = 5)[source]#
Opens the serial communication with the Thorlabs camera.
Sets some low-level values, including the bit depth and camera name.
- Parameters:
- serialnoint
The serial number of the camera that should be connected to.
- colorbool, optional
Whether the camera is in color mode or not (default True).
- exposure: int, optional
In milliseconds, the time the shutter is open on the camera (default 10,000).
- brightnessint
Integer (range 1-10) defining the brightness, where 5 leaves the brightness unchanged.