Hello! I have started in the Can interfaces and i having troubles with the libraries, because i have found a lot of them. I only want to comunicate a pc software with a external process using a CanOpen interface. I have the PCAN-PCI connected to PC and my question is : What's the easiest way to communicate them? My program is written in ANSI-C. And I'm using Ubuntu 11.10. Thanks for all.
Regards!
Chosing the best library
Re: Chosing the best library
Hi,
first you must choose if you like to use the SocketCAN driver (already available in the kernel, no need to install additional drivers) or the peak-linux-driver (chardev) interface. When using the SocketCAN interface, please see info here on how to build own applications: https://www.kernel.org/doc/Documentatio ... ng/can.txt
If you choose the peak-linux-driver with the chardev interface, please read driver manual on how to install the driver:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
The PCANBasic library will than be a good choice for your application.
regards
Michael
first you must choose if you like to use the SocketCAN driver (already available in the kernel, no need to install additional drivers) or the peak-linux-driver (chardev) interface. When using the SocketCAN interface, please see info here on how to build own applications: https://www.kernel.org/doc/Documentatio ... ng/can.txt
If you choose the peak-linux-driver with the chardev interface, please read driver manual on how to install the driver:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
The PCANBasic library will than be a good choice for your application.
regards
Michael