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

Access Basler USB cameras through ubuntu 18.04 in windows #512

Closed
SpangeJ opened this issue Oct 30, 2019 · 1 comment
Closed

Access Basler USB cameras through ubuntu 18.04 in windows #512

SpangeJ opened this issue Oct 30, 2019 · 1 comment

Comments

@SpangeJ
Copy link

SpangeJ commented Oct 30, 2019

Hello,
I am trying to connect to two Basler cameras through an Ubuntu18.04 terminal in Windows 10.
The setup is described here:
Windows Subsystem for Linux Installation Guide for Windows 10
I have two cameras connected and I can see them in pylon viewer and python on windows,
from pypylon import pylon devices = pylon.TlFactory.GetInstance().EnumerateDevices() len(devices)
prints: 2
If I run the same commands in the ubuntu18.04 terminal it prints 0
So that the terminal cannot find the cameras.
I have installed pylon viewer for Linux X86 in the terminal also:
pylon-5-2-0-linux-x86-64-bit

Basler have some C/C++ examples for in their README
If I try to run their example it prompts:
An exception occurred. No device is available or no device contains the provided device info properties.

I can connect my serial object (Arduino) found among ttyS* so I hope that my other USB devices are also found.

P.S. I have also published this question here:
basler/pypylon#163
Maybe someone has put out an answer there before this one is answered.

@craigloewen-msft
Copy link
Collaborator

Hi @SpangeJ as of right now WSL doesn't support access to USB cameras.

Please see this thread on the WSL Github Repo to keep track of this request as we are tracking it there!
microsoft/WSL#412

Thank you.

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

2 participants