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): $ [...]
During testing, the focus is often on a specific device instead of the channel centered CANlib. This is now taken care of via the new Python module kvDevice.
Last time I mentioned that kvrlib also has a Python wrapper included in the Kvaser CANlib SDK and I thought we could take a quick look at this as well. We will try some discovery and configuration…
There have been Python wrappers for CANlib included in the Kvaser CANlib SDK for a while now, but recently they have gotten an overhaul and more libraries and functions are wrapped as we speak.