空燃比分析仪,horiba尾气分析仪,CAN总线分析仪,CAN数据记录仪

广州智维电子科技有限公司

Guangzhou Triv Electronic Technologies Co.LTD

技术服务
SUPPORT

目前位置: 首页 > 技术服务 > FAQ专栏

2020-04-15

FAQ200415:Kvaser CANlib SDK相关

作者:    点击:522

Q1:为什么称Kvaser是开放平台?
A1:
Kvaser的产品不仅仅是CAN总线分析仪。它们可用于嵌入式应用,可依赖于复杂系统,并有许多封装尺寸。我们的产品是您的构建模块,我们希望让您轻松构建您所需要的。
在这方面,我们最自豪的是我们的CANlib软件包,它是Kvaser通向CAN世界的关键。CANlib是我们的一款免费软件包,它包含清晰简洁的API应用程序接口,可轻松创建自定义应用程序满足您的需要。只需下载、安装和浏览所含示例,找到您所需语言的API。
我们认为我们自己不可能为CAN创建每一类型应用程序,而是选择这种开放和协作的软件开发方法。一些基于Kvaser产品开发出优秀工具的公司已经成为Kvaser的技术合作伙伴。

Q2:工程师使用CANLIB SDK开发包能在哪些方面受益?
A2:
使用CANLIB SDK开发包轻松集成
CANlib软件开发套件包括文档、库、代码示例和虚拟驱动程序——所有您开始开发所需的一切。
受益者:
  • 需要快速开始和运作的开发人员。
  • 需要依靠经过试验和受信任的资源的项目经理。
  • 寻找向导和成熟解决方案的刚接触CAN总线的工程师。
通用API
我们的高级API适用于我们的所有设备。这意味着,当您为某个设备编写程序时,您就是在为所有设备进行编写。无需重写,区分版本或分开编写。一个SDK适用于所有CAN总线接口。
受益者:
  • 使用相同软件但不同CAN接口类型的团队。
  • 需要从测试平台到生产设备的完整一致的一套CAN总线工具的生产经理。
  • 需要灵活改变CAN总线端口的产品经理。
向后兼容
我们的CANlib API每个新版本都向后兼容所有Kvaser硬件设备。利用最新的功能,而不会弃用旧产品。
受益者:
  • 兼顾创新和较长产品生命周期的传统客户。
  • 构建多代产品的开发人员。
  • 希望以最低的成本扩展现有产品线的营销经理。

Q3:如何针对Kvaser产品进行开发:
A3:
步骤1:下载Kvaser CANlib SDK开发包
CANlib SDK是Kvaser的免费软件开发工具包。当您下载CANlib时,您将收到一整套用于CAN和LIN总线开发的文档、示例和工具。
步骤2:安装CANlib附带的“虚拟通道”
CANlib包括创建“虚拟”CAN总线通道的能力。使用这些虚拟通道,您可以在拥有真实硬件设备之前就可以开始测试软件。
步骤3:成为技术伙伴
您有软件要进入市场吗?您有和需要CAN总线硬件的客户合作吗?技术合作伙伴计划会适合您。通过加入Kvaser大家庭,您可以获得我们的技术信息、获悉产品预发布和优惠价格。

Q4:最新的Kvaser CANlib SDK中SDK的英文是那几个英文单词缩写?并对Kvaser CANlib SDK简要介绍说明?
A4:
Software development kit - everything you need to develop software for the Kvaser CAN and LIN interfaces. Libraries, header files, sample programs for e.g. C, C++, C#, Visual Basic and Delphi, documentation, and more.
Note: you need to download and install the appropriate device drivers separately.

Q4:最新的Kvaser CANlib SDK中SDK的最新是什么版本?相对旧版本有什么不同?
A4:V5.30.995
New Features and Fixed Problems in V5.31 (24-FEB-2020)


* 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)



Q5:Kvaser CANlib SDK 支持哪些计算机操作系统?
A5:

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硬件?

A6:

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


Q7:Kvaser 提供哪些驱动安装软件?
A7:
DRIVER
Kvaser Drivers for Windows
Windows drivers for all our CAN hardware. Please check the release notes for information on which Windows versions are supported. The package also contains a driver for a virtual CAN bus, for testing and evaluation when you don't have access to a physical CAN bus.
DRIVER
Kvaser Linux Drivers and SDK
Linux drivers and SDK for most Kvaser devices.
DRIVER
Kvaser DIADEM driver
This free driver for National Instrument's DIAdem supports all CAN hardware from Kvaser.
DRIVER
Kvaser SocketCAN Device Drivers
Kvaser SocketCAN Drivers for Linux

Q8: kvaser提供哪些软件开发包工具(Development Kits And Tools)?
A8:
DEVELOPMENT KITS AND TOOLS
Kvaser CANlib SDK
Software development kit - everything you need to develop software for the Kvaser CAN and LIN interfaces. Libraries, header files, sample programs for e.g. C, C++, C#, Visual Basic and Delphi, documentation, and more. Note: you need to download and install the appropriate device drivers separately.
DEVELOPMENT KITS AND TOOLS
Kvaser LabView VI Library for LIN
Library for National Instrument's LabView for all Kvaser LIN hardware.
DEVELOPMENT KITS AND TOOLS
Kvaser LabView VI Library for CAN
Library for National Instrument's LabView. Version for all Kvaser CAN hardware.
DEVELOPMENT KITS AND TOOLS
Python module
The Canlib module is a Python wrapper for Kvaser CANlib SDK.
DEVELOPMENT KITS AND TOOLS
Kvaser Canlib Android Library
Kvaser CANlib Android Library
DEVELOPMENT KITS AND TOOLS
Linux SDK library
Linux SDK library.

Q9:kvaser有没有安卓系统的驱动?
A9:
有,该驱动版权属于Kvaser技术联盟商和智维战略合作伙伴芬兰TKE,有需要试用请联系我们

Q10:在Linux环境下Kvaser分析仪上可使用SocketCAN吗?你推荐哪个Linux版本?
A10:
SocketCAN是一组开源CAN驱动程序和网络堆栈,它包含在许多Linux发行版中。
SocketCAN支持许多Kvaser CAN分析仪,包括Leaf,USBcan和PCI卡。支持的硬件信息见http://elinux.org/CAN_Bus#SocketCAN_Supported_Controllers
请注意,SocketCAN不是由Kvaser公司维护或开发,所以对哪些分析仪支持几乎不受我们影响。
我们的Linux驱动程序应该可以在任何安装了内核头文件的Linux发行版上运行,但只在Ubuntu上做个常规测试。

返回列表

下一篇:没有了