2020-04-15
FAQ200415:Kvaser CANlib SDK相关
作者: 点击:522
- 需要快速开始和运作的开发人员。
- 需要依靠经过试验和受信任的资源的项目经理。
- 寻找向导和成熟解决方案的刚接触CAN总线的工程师。
- 使用相同软件但不同CAN接口类型的团队。
- 需要从测试平台到生产设备的完整一致的一套CAN总线工具的生产经理。
- 需要灵活改变CAN总线端口的产品经理。
- 兼顾创新和较长产品生命周期的传统客户。
- 构建多代产品的开发人员。
- 希望以最低的成本扩展现有产品线的营销经理。
* Interchanged calls to canSetBusOutputControl() and canGetBusOutputControl() using CANlib and t is now consistent. * Calls to canSetBusOutputControl() and canGetBusOutputControl() is now persistent across all channels in the device until power is cycled in latest generation of devices (kcany, kcanf, kcanl). Older devices have not changed their behaviour. * Increased max number of cards to 16 for kcanf driver (INBOX-15560). * SDK (canlib) - Added support for external trigger input and output to I/O pin API when using e.g. Memorator 2xHS v2 and Kvaser Memorator Pro 5xHS. Note that using the External trigger input requires that CAN channel 1 is bus on and using the External trigger output requires that CAN channel 2 is bus on. - Added support for reading and setting multiple input and output pins in on call in the I/O pin API. Two new functions for this purpose have been added: kvIoGetModulePins and kvIoSetModulePins. - Capability SILENT_MODE is now reported for PCIcanx and PCIcanx II devices. - Fixed a bug where canGetChannelData returned canERR_NOTFOUND instead of canERR_PARAM for a subset of erroneous input arguments. * SDK (kvmlib) - Fixed compilation Warning appearing in gcc v8.3.0. * SDK (Documentation) - Moved chapter about silent install to the Windows installation page. - Updated the tutorial for .Net Standard 2.0. * SDK (t): The included t compiler now has version 3.11. - Added support for external trigger input and output to I/O pin API with kvIO_MODULE_TYPE_INTERNAL. - Two new functions for reading multiple pins in the I/O pin API have been introduced: kvIoGetModulePins and kvIoSetModulePins. - New predefined types introduced: kvIoModuleDigital, kvIoModuleAnalog kvIoModuleRelay, kvIoModuleInternal. These are to be used in the new I/O pin API functions: kvIoGetModulePins and kvIoSetModulePins. * J2534 - Added registry key "share canlib channels", which ignores permission errors regarding bitrate settings (for dll backwards compatibility). Must only be used when identical bus settings are used across all shared CANlib channels. - DEVICE_NOT_CONNECTED is now returned by PassThruRead() for CAN protocols if the read queue is empty, and the latest call to canRead() failed. * Added support for new devices: - Kvaser U100 (01173-1) - Kvaser U100P (01174-8)
Supported operating systems
The following OSes are supported by current version of CANLIB: - Windows 7, 32-bit and 64-bit, x64 architecture - Windows 8.1, 32-bit and 64-bit, x64 architecture - Windows 10, 32-bit and 64-bit, x64 architecture Note! The latest CANlib version to fully support Windows Vista and Windows Server 2008 is CANlib v5.28. Note! The latest CANlib version to fully support Windows XP is CANlib v5.22.
Q6:Kvaser CANlib SDK支持哪些kvaser硬件?
Device support table
Required
Device Driver Firmware
------------------------------------------------------------
Kvaser LAPcan kcanx.sys 1.40 or later
Kvaser LAPcan II kcanx.sys 4.20 or later
Kvaser PCIcan kcanh.sys N/A
Kvaser PCIcanx kcanh.sys N/A
Kvaser PCIEcan kcanh.sys N/A
Kvaser PCIEcan 4xHS kcanf.sys 2.0.1 or later
Kvaser PCIEcan 2xHS v2 kcanf.sys 2.0.15 or later
Kvaser PCIEcan HS v2 kcanf.sys 2.0.19 or later
Kvaser Mini PCI Express 2xHS v2 kcanf.sys 2.2.6 or later
Kvaser Mini PCI Express HS v2 kcanf.sys 2.2.5 or later
Kvaser BlackBird (all types) kcanl/kcanlr.sys 1.9 or later
Kvaser BlackBird v2 (all types) kcany/kcanyr.sys 2.1 or later
Kvaser BlackBird Pro HS v2 kcany/kcanyr.sys 3.9 or later
Kvaser Ethercan Light HS kcanyr.sys 2.1 or later
Kvaser Ethercan HS kcanyr.sys 3.9 or later
Kvaser DIN Rail kcanyr.sys 3.17 or later
Kvaser Leaf (all types) kcanl.sys 1.1 or later
Kvaser Leaf v2 (all types) kcanl.sys 3.0 or later
Kvaser Eagle kcany.sys 1.6 or later
Kvaser Memorator kcane.sys 2.5 or later
Kvaser Memorator Professional kcanl.sys 2.0 or later
Kvaser Memorator Pro 5xHS kcany.sys 3.0 or later
Kvaser Memorator Light HS v2 kcany.sys 3.14 or later
Kvaser USBcan Pro 5xHS kcany.sys 3.0 or later
Kvaser USBcan Light 4xHS kcany.sys 2.6 or later
Kvaser Leaf Pro HS v2 kcany.sys 2.6 or later
Kvaser USBcan Pro 2xHS v2 kcany.sys 3.0 or later
Kvaser Memorator 2xHS v2 kcany.sys 3.0 or later
Kvaser Memorator Pro 2xHS v2 kcany.sys 3.0 or later
Kvaser Hybrid 2xCAN/LIN kcany.sys 3.7 or later
Kvaser Memorator Light kcanl.sys 2.0 or later
Kvaser Memorator R SemiPro kcanl.sys 2.6 or later
Kvaser Mini PCI Express HS kcanl.sys 3.0 or later
Kvaser Mini PCI Express 2xHS kcanl.sys 3.0 or later
Kvaser USBcan II kcane.sys 2.4 or later
Kvaser USBcan Rugged kcane.sys 2.4 or later
Kvaser USBcan Professional kcanl.sys 1.8 or later
Kvaser USBcan Light 2xHS kcanl.sys 3.0 or later
Kvaser PCIcan II kcans.sys 2.4 or later
Kvaser PCIcanx II kcans.sys 3.0 or later
Kvaser PC104+ kcans.sys 3.0 or later
Kvaser PCI104 kcans.sys 3.0 or later
Kvaser Virtual CAN bus kcanv.sys N/A
It is always recommended to use latest released firmware