当前位置:网站首页>Automation sequences of canoe simulation functions
Automation sequences of canoe simulation functions
2022-07-06 09:48:00 【Ant soldier】
Related articles

Preface
- Visual sequences make it easy for you ( Graphical ) Create bus related sequences .
You can use system variables 、 Create a sequence of environment variables or signals . Send messages or check signals 、 Values of system variables and environment variables .- The convenience is that you can do it without CAPL Scripts can implement simple code logic , such as
if else,Set up symboletc. , Limited function- Demonstrate hardware and software environment Win10 x64 ; CANoe 11 SP2 x64


Catalog

Visual Sequencer ( Visual sequence )
newly build Sequencer
1️⃣ Here's the picture , Create a new one sequences, Name it New_VSequence


2️⃣ The following figure lists most Visual Sequencer Commands, Let's choose some possible instructions to test .

Wait For Key It can be used to block the sequence
Here's the picture : Added two instructions Wait For Key and Write Text , After running the project , Press down Start Small button , The sequence panel will run to Wait For Key This line command, The user presses t after , The sequencer executes the second line command, towards write Window printing .

Control statement : conditional if else and loop repeat
Here's the picture : Create a new one sequences, Name it New_VSequence_2, Add the following commands, The following sequence logic is :
take EngineSpeed Signal cycle plus 1, On duty ==100 when , Print information ,>=200 when , Print information , And exit the loop , Finally, stop the cycle big song message
Set CAN Cyclic FrameFirst 100ms Send periodically messagebmw::EngineStaterepeatLoop control statementSetsentence : Set the signal or variable valueif else: conditionalRepeat End: End of cycle

Set CAN Raw Frame newly build DBC Undefined message
Here's the picture : Create a new one sequences, Name it New_VSequence_3, Add the following commands, The following sequence logic is :
Create a new one ID=0x20 Message of , Then send the message periodically ,2000ms after , Send this message BYTE1 Set to 0xFF;3000ms after , End the cycle and send the message
Set CAN Raw FrameCreate or modify dbc File does not define messageSet CAN Cyclic Raw FrameSend periodically dbc File does not define message


Other features
Here's the picture , Whether the sequence is executed continuously or only once when it is circled ; When running CANoe Then the sequence is automatically executed

Here's the picture , You can export these sequence codes to a file , It can be reused and so on

| End |
summary


Above is CANoe Automatic sequence of simulation functions Visual Sequencer ( Visual sequence ) Most of the functions of ,Mcros and Net Snippets No introduction , Because I don't know ; As for how useful this function is in actual projects , How to use it? , It's up to you to play .
- Have the most simple life , The furthest dream , Even if it's freezing tomorrow , Lu Yao's horse died !
- Small partners with mobile phones can add communication groups , A small circle in the field of on-board diagnosis , In the group
SkyDrive data,Source code, There may be something you need , Usually can exchange technology , Talk about job opportunities .- If this blog is helpful to you , please “ give the thumbs-up ” “ Comment on ”“ Collection ” One key, three links Oh ! It's not easy to code words , Everyone's support is my driving force to stick to it .
边栏推荐
- Libuv thread
- Redis distributed lock implementation redison 15 questions
- May brush question 26 - concurrent search
- What are the models of data modeling
- Mapreduce实例(八):Map端join
- Processes of libuv
- 068. Find the insertion position -- binary search
- [deep learning] semantic segmentation: paper reading: (2021-12) mask2former
- Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
- Cap theory
猜你喜欢

面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了

解决小文件处过多

数据建模有哪些模型

Mapreduce实例(十):ChainMapReduce

Keep these four requirements in mind when learning single chip microcomputer with zero foundation and avoid detours

Cap theory

CAPL脚本中关于相对路径/绝对路径操作的几个傻傻分不清的内置函数

英雄联盟轮播图手动轮播

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

51单片机进修的一些感悟
随机推荐
tn-c为何不可用2p断路器?
Oom happened. Do you know the reason and how to solve it?
Nc17 longest palindrome substring
Day 5 of MySQL learning
MySQL数据库优化的几种方式(笔面试必问)
MapReduce working mechanism
One article read, DDD landing database design practice
Leetcode:608 树节点
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
Une grande vague d'attaques à la source ouverte
嵌入式开发中的防御性C语言编程
Which is the better prospect for mechanical engineer or Electrical Engineer?
Libuv thread
Hero League rotation chart manual rotation
Learning SCM is of great help to society
嵌入式中的合作开发--函数指针
There are software load balancing and hardware load balancing. Which one to choose?
Hugo blog graphical writing tool -- QT practice
在CANoe中通过Panel面板控制Test Module 运行(初级)
Cooperative development in embedded -- function pointer

