当前位置:网站首页>CANoe:. What is a vmodule file
CANoe:. What is a vmodule file
2022-07-19 16:38:00 【picoasis】
Catalog
Why: What's the use of documents (.vmodule: Module description file ) (Help file )
what are you having? : The contents of the document
HOW- operation : How to add for a node DLL/vmodule file
The way 1: For a single Node add to
The way 3: adopt DBC Definition add
When: When do I need to add this configuration file
The problem background
Create a new one today CANoe Simple engineering , Not directly in DBC Add inside Network Node, Add... Is omitted in the middle Node Of IL The configuration file , As a result, the message did not follow DBC The definitions in send normally .
later , add to Node Of IL When configuring a file , Found that the file you can find is not dll Format ( When operating before , All are dll file ), It is .vmodule The suffix . Searched all websites , Right .vmodule The introduction of documents is very few .

chart 1 Node add DLL file
but Help The introduction of the document is relatively clear . So record here ,help In the document for .vmodule Introduction of documents .
Why: What's the use of documents (.vmodule: Module description file ) (Help file )
Put the conclusion first : It's mainly for decoupling CANoe Project operation platform and project configuration , So that the same project configuration can be shared on different platforms .
Here is help Detailed description in the document .

Chinese translation :
Module description file (*.vmodule) Contains the file path and metadata of the module .
The following module types are supported :
· CAPL DLL :CAPL Dynamic link library
· Moduling Library: Modeling library ( Node layer DLL)
· C Library: C library
stay CANoe In the old version of , Module implementation ( for example CAPL DLL The path of ) Be input directly into CANoe Configuration file for .
And because engineering implementation is usually specific to a platform , This makes it very difficult to exchange configurations between different platforms
( for example :Windows 32 Bit and 64 Bit or Linux 64 position ).
therefore , from CANoe edition 12.0 SP3 Start , You can enter the module description file in the configuration , Rather than specific implementation .
This module description file can contain the file path of the implementation of different platforms .
from CANoe edition 13.0 Start , It can also be specified with the application (CANoe) Related versions .
This makes it possible to use different versions of DLL Or define the minimum version of the application .
Module type 1:CAPL-DLL
Module type 2:NodeLayer-DLL
Module type 3:C Library

What: In short
in other words ,vmodule The document is the original dll file , And it doesn't just include dll file .
vmodule and dll All use xml File format and content .
what are you having? : The contents of the document
The picture below is CANoe Sample Attached to vmodule file , It is also commonly used in simple engineering IL file :CANoeILNLVetctor.vmodule(C:\ProgramData\Vector\AddOn Packages\Vector AddOn\vModules)

You can find in the file , Except for the path 、 Version, etc , The main function is to IL The related functions of layer .
HOW- operation : How to add for a node DLL/vmodule file
Yes 3 Methods , Can be passed separately Simulation and DBC File to add .
The first two are through Simulation Setup add to , among
- One is to add one node by one vmodule file
- The other is to add vmodule
The way 1: For a single Node add to
1.Simulation Setup Right click the corresponding node , Choose Configuration

2. In the 2 Tabs Components in , Click on ADD, Add the required files

When I'm done , The configuration of the node is shown below ( The network is displayed as the current network name , And not remove?):

The way 2: Add by channel
If all nodes in the same channel , Use the same vmodule file , Then you can use this method to add .
Pictured , Right click the channel node and select Assign Module to all Network Nodes, Just select the required file .

After adding using this method , Click on a single node configuration as follows :

The way 3: adopt DBC Definition add
If DBC file :
- Is based on IL Of DBC templated
- DBC Defined in Network Node node
- take DBC File import to Simulation Setup when , Also synchronize nodes (Node Synchronization) Imported project

chart 2 be based on IL newly build DBC

chart 3 DBC Well defined Network Node And Message Signal Send receive relationship of

chart 4 Node Synchronization
that node Nodes do not need to be added in the above two ways IL To configure , Check the configuration , You can find that you already have IL To configure .

When When do I need to add this configuration file
The configuration file used here is IL file ,IL File is used to define message、signal The way of sending .
in other words , If needed DBC To simulate or test the signal transmission mode defined in , Then you need to add this configuration file ,
And if you don't need to use DBC Defined in the , Just rely on manual sending , such as
- adopt panel Click on the panel to control sending ,
- adopt IG The node sends
- adopt CAPL Programmed transmission
Then do not add this configuration , It will not affect the sending and receiving of messages .
END
边栏推荐
- 07.二叉树的高级应用
- 【Unity3D】UGUI之布局组件
- 个人 IP 实验室周复盘 · 第 19 期
- YoloV7:基于自己训练的模型如何导出正确的ONNX
- Word文档中封面的下划线如何精确对齐
- Openresty Lua resty lrucache cache
- CANoe:.vmodule文件是什么
- Using deep learning to make robot brain drawings
- Torus material mask
- Does flush mobile phone software need money to open an account online for stock speculation? Is it safe to open an account?
猜你喜欢
随机推荐
CSDN certification C1 level learning notes - Web advanced
groovy学习
Deep learning environment configuration pytoch
06.二叉树及简单应用
VS2019 MFC Slider Control 控件继承CSliderCtrl类重绘 自绘
What is the difference between the then second parameter in promise and catch?
向数据库表中插入中文数据报错“1366 (HY000): Incorrect string value: ‘\xE5\x90\x95\xE5‘ for column ‘name‘ at row 1“
Stm32+a4988 control stepper motor
Explanation on the use of qpprocess
【VScode输出为乱码】解决方法
使用深度學習制作機器人大腦圖紙
eslint 使用总结
All types of code after await are directly thrown into the micro task queue and executed later
Jinlv environment listed on Shenzhen Stock Exchange: market value of 5billion Yu Xiaoxia family has a strong color
使用深度学习制作机器人大脑图纸
Torus material mask
Zhang Chaoyang runs 33km at night: live chat on physics reveals the cause of "super moon"
软件测试周刊(第80期):当你想倾诉的话语已经涌到了舌尖,但是把那些话憋回去的瞬间,从那个瞬间起,你就成为了大人。
How do new shareholders open accounts online? Is it safe to open accounts online?
分布式笔记(03)— 分布式缓存之 Redis(单机模式、Redis Cluster 模式概述)











