没有合适的资源?快使用搜索试试~ 我知道了~
CANoeLabVIEW_FastDataExchange
![star](https://csdnimg.cn/release/downloadcmsfe/public/img/star.98a08eaa.png)
温馨提示
基于LABVIEW的CANOE调用方法,程序设计指南 How to run LabView VIs in CANoe
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/release/download_crawler_static/10818394/bg1.jpg)
Cover Graphic
CANoe and LabView – Fast Data Exchange
How to run LabView VIs in CANoe
Version 1.1
2012-07-24
![](https://csdnimg.cn/release/download_crawler_static/10818394/bg2.jpg)
CANoe and LabVIEW - Fast Data Exchange
© Vector Informatik 2012
2
Table of Contents
1.0
Overview .......................................................................................................................................................... 3
1.1 References .................................................................................................................................................... 3
2.0 Solution ............................................................................................................................................................ 3
2.1 LabVIEW side ................................................................................................................................................ 4
2.1.1 Create a new VI .......................................................................................................................................... 4
2.1.2 Define the VI connectors ............................................................................................................................ 5
2.1.3 Create a Shared library from a LabVIEW VI ............................................................................................... 5
2.2 CANoe side ................................................................................................................................................... 7
2.2.1 Create a CANoe configuration .................................................................................................................... 7
2.2.2 Define the FDX protocol data ..................................................................................................................... 8
2.3 FDX executable ............................................................................................................................................. 9
2.3.1 Creating the FDX executable .................................................................................................................... 10
2.4 Run the complete system ............................................................................................................................ 13
2.4.1 Stimulation and Display in CANoe ............................................................................................................ 13
2.5 Further steps ............................................................................................................................................... 15
3.0 Requirements/Restrictions ............................................................................................................................. 15
4.0 Annex ............................................................................................................................................................. 15
4.1 Sample code ............................................................................................................................................... 15
4.2 Complete LabViewConnDesc.xml ............................................................................................................... 15
4.3 Complete Main.cpp of the connecting executable ...................................................................................... 16
5.0 Additional Resources ..................................................................................................................................... 18
![](https://csdnimg.cn/release/download_crawler_static/10818394/bg3.jpg)
CANoe and LabVIEW - Fast Data Exchange
© Vector Informatik 2012
3
1.0 Overview
National Instruments LabVIEW is an engineering tool for development of measurement, test and control systems.
It provides drivers for the integration of control and measurement hardware and supports the development of
complex simulations. For details see [3].
CANoe allows you to delegate parts of a CANoe simulation to LabVIEW models. So you can communicate with
hardware devices and create complex simulations in LabVIEW. CANoe signals and variables can be used as
parameters for the LabVIEW model. The LabVIEW model results can then be mapped on CANoe signals and
variables and can be visualized in CANoe graphics window.
Figure 1: CANoe - LabVIEW interaction
In this paper you will learn how to integrate a LabVIEW model into a CANoe simulation step-by-step.
1.1 References
[1] CANoe documentation: <program>\Doc\CANoe_FDX_Protocol_EN.pdf
[2] CANoe FDX demo application \CANwin Demos\Demo_Addon\FDX\EasyFDX.cfg
[3] http://www.ni.com/labview/
[4] <program>\Doc\CANoe_LabVIEW_001.pdf
2.0 Solution
CANoe supports a UDP based fast data exchange (FDX) between CANoe and stand alone applications. The
FDX protocol enables read and write access from external applications to the CANoe world. The concrete data
sources and data sinks are CANoe system variables, environment variables and bus signals. FDX can be used
as connection even to connect remote computers.
LabVIEW allows the creation of Dynamic Link Libraries (DLLs) from LabVIEW VIs. Exported VI functions can
used by external applications.
Advantage: CANoe is able to integrate typical VIs without the need for modifications. Any VI that is ready to be
used as Sub-VI, can be connected to CANoe.
The approach is to create an executable that consists of the NI VIs, the LabVIEW Runtime Engine, and the FDX
protocol implementation from Vector. This executable is called “FDX executable” in this document.
CANoe
Configuration
LabVIEW
Model (VI)
Connectors
剩余18页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
- jp015681712019-01-09东西不是我想要的哦
- hrbeuxn2019-05-28看看是不是我想要的
![avatar](https://profile-avatar.csdnimg.cn/30a43c0432a34c48899a6c10592e778b_weixin_43876470.jpg!1)
weixin_43876470
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)