hardbyte / python-can

The can package provides controller area network support for Python developers
https://python-can.readthedocs.io
GNU Lesser General Public License v3.0
1.31k stars 604 forks source link

PCAN hardware is sometimes not released (on Windows) #48

Closed hardbyte closed 6 years ago

hardbyte commented 8 years ago

Originally reported by: SadE (Bitbucket: SadE, GitHub: SadE)


After successive connections, debugging a liitle test app , it seems the pcan dongle is not always released correctly. My python app is closed , and when I'm trying to connect using PCAN Explorer I get this error : Error in Connection Connection1: Hardware is already in use (Code 0400h) Even by unplugging anf plugging it again, I get the same message.


felixdivo commented 6 years ago

Can someone test if this is still a problem? I do not know the PCAN interface but I can imagine that it is fixed by now.

mgiaco commented 6 years ago

Hi, I tried that with my app some minutes ago but I rechecked with PCANVIEW. I found no error so maybe this is fixed.

felixdivo commented 6 years ago

Great! :+1: Then let's close it, and if anyone has problems again, he/she can open it again.

lalitheranti commented 4 years ago

I have the same issue of the device already in use. what should I do?