No devices can be found
See original GitHub issueHello,
I am trying to use the pypylon library to enumerate the devices that are connected via Ethernet. However, when I call the following code, the tlFactory.EnumerateDevices()
call is an empty tuple and the line to create the device fails with an exception. I’ve copied the code and the result below. Pylon sees 10 cameras connected.
from pypylon import pylon
from pypylon import genicam
tlFactory = pylon.TlFactory.GetInstance()
devices = tlFactory.EnumerateDevices()
print(f"devices: {devices}")
camera = pylon.InstantCamera(pylon.TlFactory.GetInstance().CreateFirstDevice())
devices: ()
Traceback (most recent call last):
File "C:\python_issue.py", line 7, in <module>
camera = pylon.InstantCamera(pylon.TlFactory.GetInstance().CreateFirstDevice())
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pypylon\pylon.py", line 1582, in CreateFirstDevice
return _pylon.TlFactory_CreateFirstDevice(self, *args)
_genicam.RuntimeException: No device is available or no device contains the provided device info properties. : RuntimeException thrown (file 'tlfactory.cpp', line 694)
Is there something else I need to do to let pypylon know that the devices are connected via Ethernet? The only way this code works is if I set an environment variable to run with emulated devices. No real devices are ever seen.
Thank you!
Environment Setup
Windows 10
Python 3.9.5
pypylon 1.7.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
Learn more: No devices found - Android - Chromecast Help
Learn more: No devices found · Step 1. Make sure Local Network Access is enabled · Step 2. Complete the initial checklist ·...
Read more >Chromecast No Devices Found: How to Troubleshoot In ...
Chromecast No Devices Found: How to Troubleshoot In seconds · Power Cycle your Networking Devices · Restart your Chromecast · Check Your ...
Read more >How to Fix "No Cast Devices Found" Error Chromecast
1. To Power Cycle Your Modem and Router:
Remove the power cable from both your modem and router.
Verify all lights are off on the...
Read more >How To Fix No devices found. Make sure that ... - YouTube
Your browser can 't play this video. ... How To Fix No devices found. Make sure that device are turned on and available...
Read more >NO DEVICES FOUND - Microsoft Community
Press Windows key + R. · Type devmgmt.msc. · Click OK. · Click View. · Select and click Show hidden devices. · Find...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same problem here. I have a GigE camera (acA2500-20gm) configured on the same subnet as the host. I can connect to it from Pylon Viewer, and I can ping it from the command line. However,
tl_factory.EnumerateDevices()
keeps returning an empty tuple.@thiesmoeller, how do you recommend to best diagnose this? I’m using the pypylon from the latest commit on the master branch.
Thank you!
Thank you. I repeated the configuration process and it seems to be working now. (don’t know what was wrong before!)