Page 1 of 1

PCAN Basic Example not working (python)

Posted: Tue 10. Jul 2018, 11:57
by singlequestion
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

Re: PCAN Basic Example not working (python)

Posted: Tue 10. Jul 2018, 14:11
by K.Wagner
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.

Re: PCAN Basic Example not working (python)

Posted: Thu 12. Jul 2018, 13:15
by singlequestion
Thanks a lot ! It is working now!!

Best regards