Where to put the PLinApi.dll

The free LIN software API (Application Programming Interface) for Windows® (only for usage with the PCAN-USB Pro CAN/LIN interface)
Post Reply
elikl@bokam.com
Posts: 5
Joined: Tue 9. Aug 2022, 22:27

Where to put the PLinApi.dll

Post by elikl@bokam.com » Tue 9. Aug 2022, 22:37

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

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Where to put the PLinApi.dll

Post by M.Maidhof » Wed 10. Aug 2022, 09:25

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

elikl@bokam.com
Posts: 5
Joined: Tue 9. Aug 2022, 22:27

Re: Where to put the PLinApi.dll

Post by elikl@bokam.com » Wed 10. Aug 2022, 18:01

Thank you.
So which API for python 3 should I use?
Please let me know the link.

Elik

elikl@bokam.com
Posts: 5
Joined: Tue 9. Aug 2022, 22:27

Re: Where to put the PLinApi.dll

Post by elikl@bokam.com » Wed 10. Aug 2022, 18:06

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

elikl@bokam.com
Posts: 5
Joined: Tue 9. Aug 2022, 22:27

Re: Where to put the PLinApi.dll

Post by elikl@bokam.com » Wed 10. Aug 2022, 18:19

I've found the right url, but I don't see any API for python3.
Where can I find one?
Thank you.

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Where to put the PLinApi.dll

Post by M.Maidhof » Thu 11. Aug 2022, 09:27

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

Post Reply