Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: (3) b'No camera was detected on the system' #153

Open
wslym35 opened this issue Jul 27, 2022 · 0 comments
Open

Error: (3) b'No camera was detected on the system' #153

wslym35 opened this issue Jul 27, 2022 · 0 comments

Comments

@wslym35
Copy link

wslym35 commented Jul 27, 2022

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant