当前位置:网站首页>在CANoe中通過Panel面板控制Test Module 運行(初級)
在CANoe中通過Panel面板控制Test Module 運行(初級)
2022-07-06 09:47: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_testCombo Box控件綁定auto_test_status

- 3️⃣ 運行CANoe ,打開開關,觸發了Test Module運行 ,並注意觀察Test Module State的變化。



總結

️ CSDN下載
️ 也可通過關注下方的公眾號免費領取上面的源碼,CANoe軟件,ISO標准,學習資料等海量資源

- 有手機的小夥伴可以加下交流群,在車載診斷領域的一個小小圈子,群裏有
網盤資料,源碼,可能有你需要的呢,平時可以交流技術,聊聊工作機會啥的。- 如果這篇博客對你有幫助,請 “點贊” “評論”“收藏”一鍵三連 哦!碼字不易,感謝小夥伴的支持。
边栏推荐
- 一大波开源小抄来袭
- Global and Chinese market of linear regulators 2022-2028: Research Report on technology, participants, trends, market size and share
- 英雄联盟轮播图手动轮播
- [deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
- Take you back to spark ecosystem!
- Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)
- CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
- Cooperative development in embedded -- function pointer
- Mapreduce实例(九):Reduce端join
- Mapreduce实例(七):单表join
猜你喜欢

【深度学习】语义分割:论文阅读:(2021-12)Mask2Former

Solve the problem of too many small files

Full stack development of quartz distributed timed task scheduling cluster

嵌入式开发中的防御性C语言编程

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

Take you back to spark ecosystem!

Learning SCM is of great help to society

一大波開源小抄來襲

tn-c为何不可用2p断路器?

C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
随机推荐
Global and Chinese market of electric pruners 2022-2028: Research Report on technology, participants, trends, market size and share
Mapreduce实例(七):单表join
Why data Tiering
Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
068. Find the insertion position -- binary search
33岁可以学PLC吗
Lua script of redis
Can I learn PLC at the age of 33
What are the models of data modeling
May brush question 01 - array
May brush question 02 - string
The real future of hardware engineers may not be believed by you if I say so
学习单片机对社会的帮助是很大的
CANoe仿真功能之自动化序列(Automation Sequences )
Vs All comments and uncomments
Selection of software load balancing and hardware load balancing
Interview shock 62: what are the precautions for group by?
零基础学习单片机切记这四点要求,少走弯路
五月刷题02——字符串
【深度学习】语义分割:论文阅读:(CVPR 2022) MPViT(CNN+Transformer):用于密集预测的多路径视觉Transformer
