Hi y'all. I've been trying to use Instrumental to interact with a ThorLabs DCC1240M camera. So far, my code looks like
from intrumental.drivers.cameras import uc480instruments = uc480.list_instruments()cam = uc480.UC480_Camera(instruments[0], reopen_policy='reuse')data = cam.grab_image()
The first time I ran this, it worked like a charm. But after unplugging and replugging in the USB camera, I now get
UC480Error: (3) b'No camera was detected on the system. (check installation)'
from cam.grab_image(). I checked if the camera was still readable by Thorcam, and it is, so I'm not sure why Instrumental is having a hard time detecting it. I tried to find more information about this error, and can't seem to get anywhere. Any help greatly appreciated, thanks.
Hi y'all. I've been trying to use Instrumental to interact with a ThorLabs DCC1240M camera. So far, my code looks like
from intrumental.drivers.cameras import uc480
instruments = uc480.list_instruments()
cam = uc480.UC480_Camera(instruments[0], reopen_policy='reuse')
data = cam.grab_image()
The first time I ran this, it worked like a charm. But after unplugging and replugging in the USB camera, I now getUC480Error: (3) b'No camera was detected on the system. (check installation)'
fromcam.grab_image()
. I checked if the camera was still readable by Thorcam, and it is, so I'm not sure why Instrumental is having a hard time detecting it. I tried to find more information about this error, and can't seem to get anywhere. Any help greatly appreciated, thanks.