Developer Blog

Introduction to Environment Variables (1 of 3)

An introduction to the environment variable and examples showing how they can be used in a t program.

Setting Up CANlib for Visual Studio

This is the first post in a 3-part series about CANlib development: Setting up CANlib in Visual Studio Basic API Calls Event Driven Applications Intro Welcome to our guide on how to setup a Visual Studio C# project to use the Kvaser CANlib Software Development Kit. Before beginning please make sure that you’ve installed CANlib and ... Read More

The CAN handle vs channel number

When writing "Was that the CANlib channel number or Card Number?", I got a comment asking for clarification about the difference between the CanHandle and channel number since they can both start at zero. A CAN channel is opened using the function canOpenChannel() in CANlib, passing the channel number as the first argument. CanHandle handle; ... Read More

Read More
BY Magnus
Carlsson

Examining logged data with kvmlib and Python

This blog uses now deprecated functions, see blog "Improved API in Python canlib v1.5" for more information. Today we take a look at how to read logged data and how to relate the data to our watch using kvmlib. We do this by recording some sample data and then try and analyze it using the Python wrapper. ... Read More

Read More
BY Magnus
Carlsson

Was that the CANlib channel number or Card Number?

When interacting with CANlib, many functions need a handle to a channel, but some programs wants a Card Number.