Is PCANAPI-2 still usefull when PCANAPI-4 available

Professional CAN and CAN FD Development Package for Windows®
Post Reply
Murat.Ocakturk
Posts: 14
Joined: Wed 29. Jun 2016, 14:07

Is PCANAPI-2 still usefull when PCANAPI-4 available

Post by Murat.Ocakturk » Mon 4. Mar 2024, 14:31

Hello,

I have PCAN Developer 2 and PCAN Developer 4. My tool supports both of them. I still keep PCAN developer 2 (canapi2) code in my tool.
My tool first checks the connected CAN devices using PCAN developer 4. If an error occurs, PCAN developer 2 is used. My idea was, if user's PCAN device driver is tool old, then PCAN dev 2 will be used.

Is this correct? Is there any reason to keep PCAN dev2 when PCAN dev4 is available?

Note: I don't force users to keep their PCAN device driver up to date. I believe users update their device drivers each time their PC is changed.

Thank you,
Murat

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

Re: Is PCANAPI-2 still usefull when PCANAPI-4 available

Post by M.Maidhof » Mon 4. Mar 2024, 15:21

Hello Murat,

yes, the canapi2 could still be used for CAN 2.0 applications. But for new applications we recommend to use canapi4, to be compatible to future driver versions.

regards

Michael

Murat.Ocakturk
Posts: 14
Joined: Wed 29. Jun 2016, 14:07

Re: Is PCANAPI-2 still usefull when PCANAPI-4 available

Post by Murat.Ocakturk » Tue 5. Mar 2024, 08:41

Is there any PCAN driver version or PCAN device which is supported by canapi2, but not supported by canapi4?
In other words, does canapi4 support everything that canapi2 supports? If yes, I don't need to use canapi2 anymore. I'll go on with canapi4.

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

Re: Is PCANAPI-2 still usefull when PCANAPI-4 available

Post by M.Maidhof » Tue 5. Mar 2024, 09:43

Hi,

canapi4 needs a driver version 4.x or higher. So an older driver 3.x for Win XP will not work with the canapi4.
And yes, canapi4 supports all features of canapi2.

regards

Michael

Murat.Ocakturk
Posts: 14
Joined: Wed 29. Jun 2016, 14:07

Re: Is PCANAPI-2 still usefull when PCANAPI-4 available

Post by Murat.Ocakturk » Tue 5. Mar 2024, 09:46

Good to know that...
We don't support Windows XP or Win7 anymore in our software tools. So, there seems no need to keep canapi2.
Thank you.

Post Reply