Page 1 of 1

Where to put the PLinApi.dll

Posted: Tue 9. Aug 2022, 22:37
by elikl@bokam.com
My PLIN device is PEAK i\IPEH-002021-365358
I just started to develop with the PLIN-API on win10 64 bit. In which directory should I put the PLinApi.dll file?
Also, when launching the PLIN-API Example.exe while the PLinApi.dll is in the same directory I get an error Error-code text(3EAh) couldn't be retrieved.

Thank you.
Elik

Re: Where to put the PLinApi.dll

Posted: Wed 10. Aug 2022, 09:25
by M.Maidhof
Hello,

the device IPEH-002021 you are using is a PCAN-USB, which can't be used with the PLIN-API. You need a PLIN-USB device for LIN: https://www.peak-system.com/PLIN-USB.485.0.html

Next, there is no need to copy the dlls by hand, simply use the LIN option in our driver setup, to install both dlls (32 and 64bit) and the needed tools and driver in the Windows system directories.

If you want to copy the dlls by hand, please use the following directories:

Windows 64-bit systems:
32-bit DLL > Windows\SysWOW64
64-bit DLL > Windows\System32

regards

Michael

Re: Where to put the PLinApi.dll

Posted: Wed 10. Aug 2022, 18:01
by elikl@bokam.com
Thank you.
So which API for python 3 should I use?
Please let me know the link.

Elik

Re: Where to put the PLinApi.dll

Posted: Wed 10. Aug 2022, 18:06
by elikl@bokam.com
Hi,
Also in the link that you gave me it recommend PLIN API download.
Please let me know what to do, it's confusing.
Thank you.
Elik

Re: Where to put the PLinApi.dll

Posted: Wed 10. Aug 2022, 18:19
by elikl@bokam.com
I've found the right url, but I don't see any API for python3.
Where can I find one?
Thank you.

Re: Where to put the PLinApi.dll

Posted: Thu 11. Aug 2022, 09:27
by M.Maidhof
Hi,

first of all, what do you want to do? You have a PCAN-USB which don't support LIN. But your first request was for the PLIN-API. If you want to use the device with CAN, please download the PCANBasic API, which also have a Python header available.

regards

Michael