您现在的位置:智能制造网>技术中心>FAQ200415:Kvaser CANlib SDK相关

直播推荐

更多>

企业动态

更多>

推荐展会

更多>

FAQ200415:Kvaser CANlib SDK相关

2025年06月18日 07:13:31人气:9来源:广州智维电子科技有限公司

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

RequiredDevice Driver Firmware------------------------------------------------------------Kvaser LAPcan kcanx.sys 1.40 or laterKvaser LAPcan II kcanx.sys 4.20 or laterKvaser PCIcan kcanh.sys N/AKvaser PCIcanx kcanh.sys N/AKvaser PCIEcan kcanh.sys N/AKvaser PCIEcan 4xHS kcanf.sys 2.0.1 or laterKvaser PCIEcan 2xHS v2 kcanf.sys 2.0.15 or laterKvaser PCIEcan HS v2 kcanf.sys 2.0.19 or laterKvaser Mini PCI Express 2xHS v2 kcanf.sys 2.2.6 or laterKvaser Mini PCI Express HS v2 kcanf.sys 2.2.5 or laterKvaser BlackBird (all types) kcanl/kcanlr.sys 1.9 or laterKvaser BlackBird v2 (all types) kcany/kcanyr.sys 2.1 or laterKvaser BlackBird Pro HS v2 kcany/kcanyr.sys 3.9 or laterKvaser Ethercan Light HS kcanyr.sys 2.1 or laterKvaser Ethercan HS kcanyr.sys 3.9 or laterKvaser DIN Rail kcanyr.sys 3.17 or laterKvaser Leaf (all types) kcanl.sys 1.1 or laterKvaser Leaf v2 (all types) kcanl.sys 3.0 or laterKvaser Eagle kcany.sys 1.6 or laterKvaser Memorator kcane.sys 2.5 or laterKvaser Memorator Professional kcanl.sys 2.0 or laterKvaser Memorator Pro 5xHS kcany.sys 3.0 or laterKvaser Memorator Light HS v2 kcany.sys 3.14 or laterKvaser USBcan Pro 5xHS kcany.sys 3.0 or laterKvaser USBcan Light 4xHS kcany.sys 2.6 or laterKvaser Leaf Pro HS v2 kcany.sys 2.6 or laterKvaser USBcan Pro 2xHS v2 kcany.sys 3.0 or laterKvaser Memorator 2xHS v2 kcany.sys 3.0 or laterKvaser Memorator Pro 2xHS v2 kcany.sys 3.0 or laterKvaser Hybrid 2xCAN/LIN kcany.sys 3.7 or laterKvaser Memorator Light kcanl.sys 2.0 or laterKvaser Memorator R SemiPro kcanl.sys 2.6 or laterKvaser Mini PCI Express HS kcanl.sys 3.0 or laterKvaser Mini PCI Express 2xHS kcanl.sys 3.0 or laterKvaser USBcan II kcane.sys 2.4 or laterKvaser USBcan Rugged kcane.sys 2.4 or laterKvaser USBcan Professional kcanl.sys 1.8 or laterKvaser USBcan Light 2xHS kcanl.sys 3.0 or laterKvaser PCIcan II kcans.sys 2.4 or laterKvaser PCIcanx II kcans.sys 3.0 or laterKvaser PC104+ kcans.sys 3.0 or laterKvaser PCI104 kcans.sys 3.0 or laterKvaser Virtual CAN bus kcanv.sys N/AIt 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上做个常规测试。
全年征稿/资讯合作 联系邮箱:1271141964@qq.com

免责声明

  • 凡本网注明"来源:智能制造网"的所有作品,版权均属于智能制造网,转载请必须注明智能制造网,https://www.gkzhan.com。违反者本网将追究相关法律责任。
  • 企业发布的公司新闻、技术文章、资料下载等内容,如涉及侵权、违规遭投诉的,一律由发布企业自行承担责任,本网有权删除内容并追溯责任。
  • 本网转载并注明自其它来源的作品,目的在于传递更多信息,并不代表本网赞同其观点或证实其内容的真实性,不承担此类作品侵权行为的直接责任及连带责任。其他媒体、网站或个人从本网转载时,必须保留本网注明的作品来源,并自负版权等法律责任。
  • 如涉及作品内容、版权等问题,请在作品发表之日起一周内与本网联系,否则视为放弃相关权利。

<
更多 >

工控网机器人仪器仪表物联网3D打印工业软件金属加工机械包装机械印刷机械农业机械食品加工设备制药设备仓储物流环保设备造纸机械工程机械纺织机械化工设备电子加工设备水泥设备海洋水利装备矿冶设备新能源设备服装机械印染机械制鞋机械玻璃机械陶瓷设备橡塑设备船舶设备电子元器件电气设备


我要投稿
  • 投稿请发送邮件至:(邮件标题请备注“投稿”)1271141964.qq.com
  • 联系电话0571-89719789
工业4.0时代智能制造领域“互联网+”服务平台
智能制造网APP

功能丰富 实时交流

智能制造网小程序

订阅获取更多服务

微信公众号

关注我们

抖音

智能制造网

抖音号:gkzhan

打开抖音 搜索页扫一扫

视频号

智能制造网

公众号:智能制造网

打开微信扫码关注视频号

快手

智能制造网

快手ID:gkzhan2006

打开快手 扫一扫关注
意见反馈
关闭
企业未开通此功能
详询客服 : 0571-87858618