Kvaser SDK
The Kvaser Software Development Kit is your transparent Application Programming Interface for working with all Kvaser hardware platforms.
This software development kit includes a virtual hardware that can do just about everything our real hardware can. Download the kit and begin developing for any Kvaser hardware right away. Once you get a Kvaser interface you can seamlessly transition from the virtual driver.
Note: Virtual drivers must be installed after downloading the CANlib SDK. See instructions here.
Features
- Getting-started and reference documentation including Example programs.
-
Same API supports common functions across different Kvaser interfaces.
-
Compatible API for previous and future products. Core functions work on new products as they did on old.
-
APIs for Windows and Linux provided. (All libraries supported under Windows, most supported under Linux)
-
Same libraries and tools as the Kvaser development team.
- Debug your own CAN tools using CANKing. (free of charge bus monitor)
-
Virtual devices load with driver so software can be developed before hardware is delivered.
- Support libraries for SAE J2534, RP1210A, RP1210B
- LINlib: Support libraries for LIN
- J1708/J1587 (special Kvaser hardware required)
- Support libraries for porting legacy code from a selection of other vendor’s APIs
Kvaser SDK Libraries
CANlib – The CANlib library is used to interact with Kvaser CAN devices connected to your computer and the CAN bus. At its core you have functions to set bus parameters (e.g. bit rate), go bus on/off and read/write CAN messages. You can also use CANlib to download and start t programs on supported devices.
LINlib – The LINlib library is used to interact with the LIN bus. Similar to CANlib, it holds functions to set bus parameters, go bus on/off and read/write LIN messages.
PYCANlib – PYCANlib is a Python library that provides a convenient interface for interacting with Kvaser CAN interfaces, allowing seamless integration and control of CAN communication in Python-based applications.
.NET Core – The .NET Core API enables seamless integration of Kvaser CAN interfaces with applications developed in the .NET Core framework.
kvrlib – The kvrlib has functions to configure how the remote device connects to the network. It also contains extra functions for wireless setup, such as scanning and getting connection status.
kvmlib – The kvmlib library facilitates interaction with Kvaser Memorator devices. It enables the download of configuration data for autonomous recording of CAN messages.
REST API – Kvaser’s REST API offers a streamlined way to integrate and control Kvaser CAN devices through a web-based interface.
kvlclib – The converter library, kvlclib, is used for converting Kvaser Memorator log files. It can be used to convert between a number of formats.
kvaDbLib – The database library kvaDbLib is used for creating, reading, writing and modifying CAN databases that holds descriptions of packages that are received or sent on the CAN network.
Supported Compilers:
The Kvaser CANlib SDK is free and supports the following compilers:
- Microsoft Visual C/C++
- Borland/CodeGear/Embarcadero C++ Builder
- gcc, MinGW
- Borland/CodeGear/Embarcadero Delphi (all versions)
- Microsoft Visual Basic and VB.NET
- Microsoft C#
- Also various examples for managed C++ code, Python, etc.
Linux Support
Support for Linux is available as a separate download, see our Linux Driver and SDK page for more.
More Information
- Download Kvaser SDK (includes documentation, samples etc.)
- CANLIB Help (this help is included with Kvaser SDK)
- Visit the Developer Blog for additional information.
Recent Kvaser SDK Updates:
Kvaser’s June 2021 Software Release
08/06/2021| Software Releases
Kvaser’s latest software release adds updates and fixes for J1939 within the Python wrapper for Kvaser CANlib. Our Python implementation… Read More
Read More