Developer Blog

Converting to plain ASCII

This is the second post in a 3-part series about using the Converter Library (kvlclib) in CANlib SDK: Writer formats and properties (1 of 3) Converting to plain ASCII (2 of 3) Special converter conditions (3 of 3) The first part of this blog series looked into converter formats and properties, we will now continue [...]

Writer formats and properties

This is the first post in a 3-part series about using the Converter Library (kvlclib) in CANlib SDK: Writer formats and properties (1 of 3) Converting to plain ASCII (2 of 3) Special converter conditions (3 of 3) The converter included in the Kvaser Memorator Config Tool is released as a separate converter library called [...]

Detecting Overflow Conditions with CANlib

When developing software applications that rely heavily on communication protocols, one of the key concerns is that the application is handling incoming data quickly enough that messages are not dropped.  This situation could be caused by the application spending too much time processing a message,  the application is paused waiting for user interaction, or the [...]

Building for Raspberry Pi using distcc

Building locally on a Raspberry Pi can be slow. The most common way around this is to cross-compile, which is much quicker, but requires more setup.1 There is also a third alternative, distcc, which distributes the compilation to remote computers in a transparent manner. Setting up distcc is somewhat simpler compared to cross-compiling, but we [...]

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 [...]

Feedback