当前位置:网站首页>在CANoe中通过Panel面板控制Test Module 运行(高级)
在CANoe中通过Panel面板控制Test Module 运行(高级)
2022-07-06 09:03:00 【蚂蚁小兵】
相关文章

前言
- 在(初级)文章中,初步理解了用系统变量控制TestModule的运行,已经用panel控制系统变量,进而控制Test Module运行,那么问题来了
- 在CANoe中,一个
Test Module运行完了,就停止了,我们怎么可以连续运行N个Test Module?
这就是(高级)中需要解决的问题,解决这个问题,让你的自动化测试上一个小台阶。- 演示软硬件环境 Win10 x64 ; CANoe 11 SP2 x64


多个TestMoudle自动运行的架构
- 1️⃣ 如下图,这里创建了几个常见的测试 类型,分成了几个
Test Module,接下来我们要做的就是一键测完所有被选中的Test Module

2️⃣ 这里我们需要创建几个系统变量,和TestModule一一对应。
每个TestModule需要用到3个变量:
xx_test ; xx_test_status ;xx_call
xx_test: 用于绑定panel面板控件,继续往下看xx_test_status: 用于绑定test module statexx_call:用于绑定test module触发条件

- 2️⃣ 下面以
flash test module为例, 把上面创建的系统变量和TestModule绑定下,也正是xx_test_status和xx_call变量的使用地方

- 3️⃣ 下面以
flash test module为例, 仿照《初级》文章中的方法把系统变量和panel控件一一绑定

- 4️⃣ 有了
panel,我们还要处理下panel的响应逻辑,如下图,我们在这个tse中新建一个NetWork Module Node,在can文件中完善响应代码
- 5️⃣ 这样就打工告成了,如下图,我们选择了几个TestModule ,他按照顺序全部执行完毕了。



总结

️ 这种架构下,只需要根据自己项目的实际需要,可以很方便的进行扩展,而且使用起来也非常简单方便,
️ 也可通过关注下方的公众号免费领取上面的源码,CANoe软件,ISO标准,学习资料等海量资源

- 有手机的小伙伴可以加下交流群,在车载诊断领域的一个小小圈子,群里有
网盘资料,源码,可能有你需要的呢,平时可以交流技术,聊聊工作机会啥的。- 如果这篇博客对你有帮助,请 “点赞” “评论”“收藏”一键三连 哦!码字不易,感谢小伙伴的支持。
边栏推荐
- Redis geospatial
- Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
- Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of capacitive displacement sensors 2022-2028: Research Report on technology, participants, trends, market size and share
- Mapreduce实例(六):倒排索引
- 五月刷题03——排序
- 单片机如何从上电复位执行到main函数?
- 068. Find the insertion position -- binary search
- Mapreduce实例(九):Reduce端join
猜你喜欢

Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable

零基础学习单片机切记这四点要求,少走弯路

MapReduce instance (V): secondary sorting

In order to get an offer, "I believe that hard work will make great achievements

Cap theory

Mapreduce实例(六):倒排索引

Oom happened. Do you know the reason and how to solve it?

Redis分布式锁实现Redisson 15问

Design and implementation of online shopping system based on Web (attached: source code paper SQL file)

一大波开源小抄来袭
随机推荐
Servlet learning diary 8 - servlet life cycle and thread safety
May brush question 02 - string
Appears when importing MySQL
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
Meituan Er Mian: why does redis have sentinels?
Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
[deep learning] semantic segmentation - source code summary
O & M, let go of monitoring - let go of yourself
英雄联盟轮播图自动轮播
六月刷题02——字符串
小白带你重游Spark生态圈!
Cap theory
Elk project monitoring platform deployment + deployment of detailed use (II)
Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
Hard core! One configuration center for 8 classes!
数据建模有哪些模型
In order to get an offer, "I believe that hard work will make great achievements
