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

cannot initialize camera #11

Open
NadineKGut opened this issue Jan 10, 2024 · 0 comments
Open

cannot initialize camera #11

NadineKGut opened this issue Jan 10, 2024 · 0 comments

Comments

@NadineKGut
Copy link

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

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