-
Notifications
You must be signed in to change notification settings - Fork 9
Description
When I run the code for the Thorlabs DC1545M camera, it couldn't execute is_InitCamera(). The camera works when I use the ThorCam software, and the Python code does detect the presence camera with the correct information:
Load uc480 library..
API version 4.80.5
Found 1 camera(s)
Camera #0: SerNo = b'4103156957', CameraID = 1, DeviceID = 1
It just fails with the is_InitCamera() with the return flag=3. If I unplug the camera and run it again, it is also showing flag=3. I'm pretty sure I've closedother programs using the camera.
Before using this code, I also tried to code it myself using ctypes, and I also had problems running is_InitCamera(). The strange thing is if I ignore the error and go on to take images, it succeeds although it doesn't use the correct exposure time I set. Any idea why this code doesn't work? Does it have to do with the OS (I'm using Windows 10) or other things?
Thanks.