当前位置:网站首页>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 .
边栏推荐
- Cooperative development in embedded -- function pointer
- CAPL脚本中关于相对路径/绝对路径操作的几个傻傻分不清的内置函数
- Solve the problem of too many small files
- CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
- Scoped in webrtc_ refptr
- Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
- YARN组织架构
- 【深度学习】语义分割-源代码汇总
- 发生OOM了,你知道是什么原因吗,又该怎么解决呢?
- 一大波开源小抄来袭
猜你喜欢

Workflow - activiti7 environment setup

Design and implementation of film and television creation forum based on b/s (attached: source code paper SQL file project deployment tutorial)

MapReduce instance (IX): reduce end join

If a university wants to choose to study automation, what books can it read in advance?

CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?

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

小白带你重游Spark生态圈!

MapReduce instance (IV): natural sorting
![[Yu Yue education] reference materials of complex variable function and integral transformation of Shenyang University of Technology](/img/01/8c0b8ea397c601311ae45acaaf00da.jpg)
[Yu Yue education] reference materials of complex variable function and integral transformation of Shenyang University of Technology

How can I take a shortcut to learn C language in college
随机推荐
MapReduce working mechanism
Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
Lua script of redis
Nc17 longest palindrome substring
【深度学习】语义分割-源代码汇总
VH6501学习系列文章
max-flow min-cut
零基础学习单片机切记这四点要求,少走弯路
How can I take a shortcut to learn C language in college
May brush question 26 - concurrent search
CANoe仿真功能之自动化序列(Automation Sequences )
How does the single chip microcomputer execute the main function from power on reset?
有软件负载均衡,也有硬件负载均衡,选择哪个?
leetcode-14. Longest common prefix JS longitudinal scanning method
为拿 Offer,“闭关修炼,相信努力必成大器
工作流—activiti7环境搭建
Programmation défensive en langage C dans le développement intégré
Libuv thread
运维,放过监控-也放过自己吧
单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)

