Developer Blog

Building CANlib (linuxcan) on Raspberry Pi

When compiling CANlib (linuxcan) on any Linux computer, you need to make sure that you are using the correct version of kernel header files. For example, on Ubuntu you can issue the command: sudo apt install linux-headers-$(uname -r) A Linux header package is currently not available on the Rasbian so instead you have to do some digging. It's [...]

Custom Channel Name

One of the new features in CANlib v5.17 is the addition of Custom Channel Name. On supported devices1, this gives you an opportunity to identify a specific device's channel. When starting Kvaser Hardware, a new row is shown as can be seen in Figure 1. We have not yet assigned any Custom Channel Name, and thus Kvaser Hardware shows [...]

Running Python wrapper on Linux

Today we take a look at how to setup and send a CAN message using Kvaser's new Python package canlib. For this example we use the Kvaser USBcan Pro 2xHS v2, but any Kvaser interface can be used. First step is to download and install Kvaser Linux Driver and SDK (the current version of CANlib is v5.18): $ [...]

Python samples are now bundled in a package

With the release of CANlib SDK v5.17, the packaging of the Python samples has been revamped. Instead of just releasing the bare Python files, the files are now placed in a Python Wheel as well as a .zip package for easy installation. Hopefully, despite that you now will need to change your current Python scripts, the benefits of the [...]

CAN FD with Kent Lennartsson

Improving PerformanceA Technical Comparison In this video, we show how CAN FD makes it possible to increase performance in your CAN-system. CAN FD Learn More This video shows a comparison between how CAN, CAN FD, and Ethernet differ from one another. CAN FD Learn More Improving Performance Transcript Hi, I am Kent Lennartsson. I am [...]