Page 1 of 1

Initialization Error using PCAN-PCI Express

Posted: Fri 6. May 2022, 18:12
by Mechatron96
Hello,

I'm writing an application that sends canbus messages over the PCAN-PCI Express card using the PCANBasic Library on Ubuntu 20.04.

When I try to initialize the PCAN channel the program throws an Initialization Error or 0x4000000 error code. All the post I've seen so far states that the issue is due to a faulty card, but the card is fine.

I have duo booted computer running windows, and the card works completely fine using the PCAN View application and PCANBasic library. My application in Ubuntu was working great until I installed the PCAN drivers on windows.

Any help or suggestions would be greatly appreciated :D ,

Matt

Re: Initialization Error using PCAN-PCI Express

Posted: Mon 9. May 2022, 08:26
by PEAK-Support
Which Linux Driver do you use ? If you want to run the PCAN-Basic API, you need to use the CharDev Driver.

Re: Initialization Error using PCAN-PCI Express

Posted: Thu 12. May 2022, 22:23
by Mechatron96
The driver was using was outdated. I reinstalled driver-8.14.0 and everything works fine :D .