Skip to content

cannot initialize camera #11

Description

@NadineKGut

problem description
"initilizing camera" leads to a tiny window opening saying "setting up camera, please wait..." but nothing happens

Operating System
Windows 11

Camera_control version
camera36

Relevant log output
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\TDT\anaconda3\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\TDT\Camera_Control\camera_control_GUI.py", line 381, in
Button(self.window, text="Initialize Camera 1", command=lambda:self.init_cam(0)).grid(sticky="nsew", row=cur_row+1, column=0, columnspan=2)
^^^^^^^^^^^^^^^^
File "C:\Users\TDT\Camera_Control\camera_control_GUI.py", line 75, in init_cam
self.cam.append(ICCam(cam_num))
^^^^^^^^^^^^^^
File "C:\Users\TDT\Camera_Control\ic_camera.py", line 40, in init
self.cam.open(self.cam.GetDevices()[cam_num].decode())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
IndexError: list index out of range

Anything else?
I am using a Basler camera aca1920. Drivers are installed, I can see an image when opening camera with Pylon Viewer.

Any advice would be very much appreciated.
Nadine

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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