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

Add support for Basler Ace cameras #311

Open
ericweiner opened this issue Jan 17, 2024 · 2 comments
Open

Add support for Basler Ace cameras #311

ericweiner opened this issue Jan 17, 2024 · 2 comments
Labels
Medium Priority new feature New feature or request

Comments

@ericweiner
Copy link
Collaborator

At moment, LV Pro does not detect Basler Ace cameras, only Darts. it would be nice to add this, when we can. (it may be as simple as just allowing them? I don't see anything obvious in the code preventing this.

@ericweiner ericweiner added new feature New feature or request Medium Priority labels Jan 17, 2024
@ericweiner
Copy link
Collaborator Author

Testing acA1920-155um with the ace branch. It appears to work!

Testing acA4024-29um. (12MP camera) with the Ace branch.

Get this error
lumaviewpro.log

[INFO] 02/27/2024 19:27:01.008 - pyloncamera.py - [CAM Class ] PylonCamera.init()
[ERROR] 02/27/2024 19:27:01.504 - pyloncamera.py - [CAM Class ] PylonCamera.connect() failed
Traceback (most recent call last):
File "C:\Users\Eric Weiner\Downloads\LumaViewPro-feature-support-cam-acA1920\pyloncamera.py", line 81, in connect
self._center()
File "C:\Users\Eric Weiner\Downloads\LumaViewPro-feature-support-cam-acA1920\pyloncamera.py", line 61, in _center
self.active.BslCenterX.Execute()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\pypylon\pylon.py", line 4287, in getattr
return self.GetNodeMap().GetNode(attribute)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\pypylon\genicam.py", line 1357, in GetNode
return _genicam.INodeMap_GetNode(self, Name)
_genicam.LogicalErrorException: Node not existing (file 'genicam_wrap.cpp', line 16130)

I get the same error when I try it back in the "main" branch
[INFO] 02/27/2024 19:33:50.292 - pyloncamera.py - [CAM Class ] PylonCamera.init()
[ERROR] 02/27/2024 19:33:50.803 - pyloncamera.py - [CAM Class ] PylonCamera.connect() failed
Traceback (most recent call last):
File "C:\Users\Eric Weiner\Downloads\LumaViewPro-dev-jcorey-2024-02-22\LumaViewPro-dev-jcorey\pyloncamera.py", line 64, in connect
self.active.BslCenterX.Execute()
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\pypylon\pylon.py", line 4287, in getattr
return self.GetNodeMap().GetNode(attribute)
File "C:\Users\Eric Weiner\AppData\Roaming\Python\Python310\site-packages\pypylon\genicam.py", line 1357, in GetNode
return _genicam.INodeMap_GetNode(self, Name)
_genicam.LogicalErrorException: Node not existing (file 'genicam_wrap.cpp', line 16130)

@ericweiner
Copy link
Collaborator Author

Latest update now solves acA4024-29um. issue, it provides an image now. (I did not verify the direction yet as it wasn't installed in an optics module. )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Priority new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant