Comments (9)
well, after some deep diving, i think i have found the problem.
you should use npcap and not win10pcap...
from pysoem.
I have the same problem (Windows 10, could not open with pcap, pysoem.find_adapters() finds ID, Wireshark works and can access interface), although I have installed npcap 1.50. Any suggestions?
from pysoem.
In my case I needet to input ID in this format: '\Device\NPF_{A36B0DE6-FA8F-4113-AC4F-EEFF9E02CEC3}'
from pysoem.
have you solved the problem?
from pysoem.
Weird, on Win 11 we had to do this:
'\Device\NPF_{A36B0DE6-FA8F-4113-AC4F-EEFF9E02CEC3}'
from pysoem.
Hello,
I have same problem except I am using Realtek USB GbE Family Controller.
I am using the notation: \Device\NPF_{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}
with Winpcap installed.
could not open interface \Device\NPF_{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}
File "C:\basic_example.py", line 426, in run
self.master.open(self.ifname)
File "C:\basic_example.py", line 564, in
BasicExample('\Device\NPF{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}').run()
ConnectionError: could not open interface \Device\NPF{7A0F6319-EC6D-4EF5-ADC5-52F691B8F63D}
What can I do to solve this issue?
from pysoem.
Hello, it seems the ncap is not properly installed with Windows 10 by selecting the option
Install Npcap in WinPcap API-compatible Mode (WinPcap will be uninstalled)
from pysoem.
Sorry for adding a comment to a closed issue.
Still, I would like to share what worked for me on Windows 10.
master.open('\\Device\\NPF_{24D8A70B-00A0-4643-81DE-C1D2DF72396D}')
The double backslash \\
is the trick.
from pysoem.
Also you can try this
master.open(r'\Device\NPF_{B520D7ED-4AC0-48F9-9574-09C0696C3DA4}')
my mistake is that I didn't put "r" in front of the quotes with the interface name to read the slashes correctly
from pysoem.
Related Issues (20)
- IO-Link Ethercat module (EL6224) HOT 2
- Returning PDO frame late (Windows) HOT 2
- Handle Safety HOT 2
- ConnectionError: could not open interface on Ubuntu HOT 3
- Motion control HOT 1
- read and write PDOS question HOT 2
- Add meaning of 'network adapter ID' to documentation HOT 3
- Script crashes when Python debugger inspects `CdefSlave` HOT 3
- OD version bug HOT 1
- maybe a BUGm needs deeg in HOT 1
- How to pack / unpack single `BIT`s in PDO `input` / `output` HOT 3
- Open function returns always None HOT 2
- slave.write_eeprom() bug? HOT 2
- Transfer `pysoem` into the `OpenEtherCATsociety` Github group HOT 3
- Code completion / Intellisense not working HOT 4
- Setuptool version clash HOT 1
- no SDO info for slave device
- no SDO info for slave device HOT 1
- ReadTheDocs documentation is not updating HOT 1
- Servo State Change HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysoem.