Vector:XL-Driver-Library使用说明——Common Commands

目录

1 XL-Driver-Library介绍

1.1 System Requirements

2 设备初始化Common Commands

 2.1 xlOpenDriver() 

 2.2 xlGetApplConfig() 

 2.3 xlSetApplConfig() 

 2.4 xlGetChannelIndex

 2.5 xlGetDriverConfig

 2.6 xlOpenPort

 2.7 xlClosePort

 2.8 xlGetKeymanBoxes

2.9 xlGetSyncTime

2.10 xlGetChannelTime

 3 通道激活Channel Setup

 3.1 xlActivateChannel() 

4 断开连接

 4.1 xlDeactivateChannel() 

4.2 xlClosePort() 

4.3 xlCloseDriver() 

5. Common ErrorCodes(部分)

        本文对XL-Driver-Library进行基本介绍,并对通用的一些关键接口函数和通用的ErrorCode进行介绍。

 附Vector官方提供的XL-Driver-Library使用说明:

Driver Library for the Vector Network Interfaces

XLDriverLibrary说明文档

1 XL-Driver-Library介绍

        Vector XL-Driver-Library 是Vector公司提供的官方底层驱动接口库,专门用于与其硬件设备(如VN系列接口卡)进行直接通信。与基于COM-API不同,XL-Driver-Library提供了更底层的硬件访问能力,简单来说就是XL-Driver-Library直接提供了VN系列接口卡的硬件驱动程序接口,上位机软件(如python脚本)通过调用动态链接库(dll)以实现对Vector硬件接口的通信控制,即Python脚本作为直接上位机控制板卡硬件,如下图:

1.1 System Requirements

  • Supported Vector devices

        The XL Driver Library is compatible with the following Vector devices:
        ► CANcardXL/XLe
        ► CANboardXL Family
        ► CANcaseXL/XL log
        ► VN0600 Interface Family
        ► VN1500 Interface Family
        ► VN1600 Interface Family
        ► VN2600 Interface Family
        ► VN5000 Interface Family
        ► VN7000 Interface Family
        ► VN8800 Interface Family
        ► VN8900 Interface Family
        ► VX0312/VX1135/VX1161.41

  • Supported operating systems

        The XL Driver Library is compatible with the following operating systems:
        ► Windows 7 (32 bit / 64 bit)
        ► Windows 8 (32 bit / 64 bit)
        ► Windows 10 (64 bit)

2 设备初始化Common Commands

        设备初始化过程:

 2.1 xlOpenDriver() 

函数原型 XLstatus xlOpenDriver(void)
描述 所有的application都需要在最开始先调用此接口以打开设备驱动
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

python自动化码农

感谢打赏,您的鼓励是我创作动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值