Kvaser’s latest software release supports .NET standard and adds further J2534 capabilities
Notable changes and additions include:
Python canlib package (pycanlib): Among the developments are a new wrapper for the data (canGetHandleData), allowing customers to get information after opening a channel. A bug fix now results in the IO Control returning utf-8 decoded strings instead of “bytes in string”.
Kvaser Drivers for Windows SDK (canlib): Calls to canSetBusOutputControl() and canGetBusOutputControl() are now persistent across all channels in devices made within the last 5 years until power is cycled i.e. there is no cached state. Please refer to the full release notes for more information on the drivers implicated by this change. Within the driver for Kvaser’s PCI boards, the maximum number of cards has been increased from 8 to 16.
There is a tutorial on how to enable CANlib in Visual Studio 2019 when creating a C# project using the .NET Standard 2.0 for both “.NET CORE” and “.NET Framework”.
Support for external digital input and output triggers is a new feature of Kvaser’s ‘external’ modules i.e. the Kvaser Memorator 2xHS v2 and Kvaser Memorator Pro 5xHS. Access to external triggering is through canlib and t script. Notably, this feature can be retrofitted by updating CANlib driver, CANlib SDK and the firmware to add the I/O Pin API to both devices.
Additional J2534 support is provided in the shape of a new registry key “share canlib channels”, which ignores permission errors regarding bitrate settings, in order to ensure backwards compatibility for the dll.
For the full release notes, click here.
All files are available for download now on the Kvaser Downloads page.