Skip to content

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

@wslym35

Description

@wslym35

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions