collin80 / SavvyCAN

QT based cross platform canbus tool
MIT License
1.04k stars 288 forks source link

Doesn't recognize the PCAN device on windows 10 #707

Open Rand1804 opened 11 months ago

Rand1804 commented 11 months ago

_cgi-bin_mmwebwx-bin_webwxgetmsgimg__ MsgID=8087573645464108869 skey=@crypt_66232566_0b5179389454f2bcafcc2e1ed1fb4d91 mmweb_appid=wx_webfilehelper _cgi-bin_mmwebwx-bin_webwxgetmsgimg__ MsgID=6487268527664866953 skey=@crypt_66232566_0b5179389454f2bcafcc2e1ed1fb4d91 mmweb_appid=wx_webfilehelper

I think my device and driver have no problem, because I can use pcan-view normally. But when i want to use savvy, not port to chose when i want to connect peakcan device.

I spent a long time trying to solve it without success. Thanks.

mauro-ongaro commented 10 months ago

Same problem here, maybe try to copy the PCANBasic.dll in the same folder of SavvyCAN.exe as suggested in a forum now not more available.

The Peak can plug in for QT requires PCAN device drivers AND PCanBasic.dll. "This plugin requires the PCAN device drivers and the PCAN-Basic library version 4.0.0 or higher on Windows (pcanbasic.dll) ..."

If you are using Pcan viewer you will have installed the driver but not the PCANBasic.dll

However, PCANBasic.dll is not installed when the Peak drivers are installed. This must be installed manually (This is stated in the Readme file in PCANBasic download). Note that Savvycan is a 32 bit program, so take the 32 bit DLL. To do this, you just copy the dll. The instructions say to copy the dll to Windows\System32, however I also found that the DLL is needed in the SavvyCan application directory so put a copy there too.

Now when you create the connection, the port is automatically set to usb0, and it says connected. Just set the bit rate up and off you go.

Rand1804 commented 7 months ago

Same problem here, maybe try to copy the PCANBasic.dll in the same folder of SavvyCAN.exe as suggested in a forum now not more available.

The Peak can plug in for QT requires PCAN device drivers AND PCanBasic.dll. "This plugin requires the PCAN device drivers and the PCAN-Basic library version 4.0.0 or higher on Windows (pcanbasic.dll) ..." If you are using Pcan viewer you will have installed the driver but not the PCANBasic.dll However, PCANBasic.dll is not installed when the Peak drivers are installed. This must be installed manually (This is stated in the Readme file in PCANBasic download). Note that Savvycan is a 32 bit program, so take the 32 bit DLL. To do this, you just copy the dll. The instructions say to copy the dll to Windows\System32, however I also found that the DLL is needed in the SavvyCan application directory so put a copy there too. Now when you create the connection, the port is automatically set to usb0, and it says connected. Just set the bit rate up and off you go.

Your method is correct and successfully solved the problem. So thanks.