当前位置:网站首页>在CANoe中通过Panel面板控制Test Module 运行(初级)
在CANoe中通过Panel面板控制Test Module 运行(初级)
2022-07-06 09:04:00 【蚂蚁小兵】
相关文章
前言
- 在实际
CANoe
的测试项目中,我们希望通过某些手段控制着某些Test Module
的运行,有哪些方法呢?- 在CANoe中,一个
Test Module
运行完了,就停止了,我们怎么可以连续运行N
个Test Module
?。- 演示软硬件环境 Win10 x64 ; CANoe 11 SP2 x64
没有panel的情况
- 1️⃣ 如下图,以
XML Test Module
为例,如下图,打开configration
对话框,有三种方式 : immediately
: 运行CANoe
之后,立即执行此Test Mdoule
变量
: 系统变量或者环境变量 不为 0 就执行Key
:按键触发
- 2️⃣ 我们就变量情况简单测试下,选中
系统变量
auto_test
- 3️⃣ 运行CANoe ,因为
auto_test
初始值为0,所以Test Module
并没有运行
- 4️⃣ 然后我们将
auto_test
值设置为1,Test Module
就直接运行完了。
- 5️⃣ 按键触发,区分大小写,同时设置了变量触发和按键触发,满足任何一个条件即可触发。
简单panel
的情况
- 1️⃣ 如下图,在设计
panel
之前,先把Test Module State
和系统变量auto_test_status
绑定下
- 2️⃣ 我们简单设计个
panel
Switch/Indicator
控件绑定系统变量auto_test
Combo Box
控件绑定auto_test_status
- 3️⃣ 运行CANoe ,打开开关,触发了Test Module运行 ,并注意观察Test Module State的变化。
总结
️ CSDN下载
️ 也可通过关注下方的公众号免费领取上面的源码
,CANoe软件
,ISO标准
,学习资料
等海量资源
- 有手机的小伙伴可以加下交流群,在车载诊断领域的一个小小圈子,群里有
网盘资料
,源码
,可能有你需要的呢,平时可以交流技术,聊聊工作机会啥的。- 如果这篇博客对你有帮助,请 “点赞” “评论”“收藏”一键三连 哦!码字不易,感谢小伙伴的支持。
边栏推荐
- How can I take a shortcut to learn C language in college
- 嵌入式開發中的防禦性C語言編程
- Activiti7工作流的使用
- MapReduce instance (IX): reduce end join
- Global and Chinese markets of SERS substrates 2022-2028: Research Report on technology, participants, trends, market size and share
- Scoped in webrtc_ refptr
- [Yu Yue education] reference materials of power electronics technology of Jiangxi University of science and technology
- Oom happened. Do you know the reason and how to solve it?
- May brush question 03 - sorting
- CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
猜你喜欢
In order to get an offer, "I believe that hard work will make great achievements
Mapreduce实例(八):Map端join
五月集训总结——来自阿光
MapReduce instance (VI): inverted index
Cap theory
小白带你重游Spark生态圈!
Mapreduce实例(十):ChainMapReduce
MapReduce instance (V): secondary sorting
Elk project monitoring platform deployment + deployment of detailed use (II)
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
随机推荐
Research and implementation of hospital management inpatient system based on b/s (attached: source code paper SQL file)
Libuv thread
MapReduce instance (VI): inverted index
Global and Chinese market of AVR series microcontrollers 2022-2028: Research Report on technology, participants, trends, market size and share
Yarn organizational structure
What you have to know about network IO model
零基础学习单片机切记这四点要求,少走弯路
The order of include header files and the difference between double quotation marks "and angle brackets < >
Learning SCM is of great help to society
51单片机进修的一些感悟
Global and Chinese market of capacitive displacement sensors 2022-2028: Research Report on technology, participants, trends, market size and share
【深度学习】语义分割-源代码汇总
MapReduce instance (V): secondary sorting
Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable
【深度学习】语义分割:论文阅读:(2021-12)Mask2Former
DCDC power ripple test
Global and Chinese market of electric pruners 2022-2028: Research Report on technology, participants, trends, market size and share
Use of activiti7 workflow
小白带你重游Spark生态圈!
Basic concepts of libuv