PCAN Basic Example not working (python)

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
singlequestion
Posts: 5
Joined: Mon 2. Jul 2018, 16:35

PCAN Basic Example not working (python)

Post by singlequestion » Tue 10. Jul 2018, 11:57

Hello,

i am trying to run the basic samples of PCAN Basic for python. I try to run the python example but I get a Windows Error saying:

self._handle = _dlopen(self._name, mode)
Error 126: Module not found


all i did was only connecting the PCAN Adapter to the PC and run the python file.

Best regards

K.Wagner
Software Development
Software Development
Posts: 1082
Joined: Wed 22. Sep 2010, 13:36

Re: PCAN Basic Example not working (python)

Post by K.Wagner » Tue 10. Jul 2018, 14:11

Hello,

the error message is already telling you what is the problem: The module (a.k.a. dll or library, in this case PCANBasic.dll) was not found.

Please make sure the PCANBasic.dll is installed on your system. You can use the PEAK-Drivers Setup to install it automatically, or you can install it manually by copying the PCANBasic.dll(s) to the right place on your computer. The ReadMe.txt file that is delivered within the PCAN-Basic package offer information about where to copy the DLLs on a 32-bit or 64-bit system.
Best regards,
Keneth

singlequestion
Posts: 5
Joined: Mon 2. Jul 2018, 16:35

Re: PCAN Basic Example not working (python)

Post by singlequestion » Thu 12. Jul 2018, 13:15

Thanks a lot ! It is working now!!

Best regards

Post Reply