没有合适的资源?快使用搜索试试~ 我知道了~
首页CANoe CAPL Functions Manual
CANoe CAPL Functions Manual
需积分: 47 53 下载量 186 浏览量
更新于2023-03-16
6
收藏 13.38MB PDF 举报
这是针对CANoe中CAPL的完整版本,相比对179的版本,这个是2K多页的,可以给需要者查阅
资源详情
资源推荐
User Manual
CAPL Functions
Version 1.1
Englisch
Imprint
Vector Informatik GmbH
Ingersheimer Straße 24
D-70499 Stuttgart
The information and data given in this user manual can be changed without prior notice. No part of this manual may be reproduced in
any form or by any means without the written permission of the publisher, regardless of which method or which instruments, electronic
or mechanical, are used. All technical information, drafts, etc. are liable to law of copyright protection.
© Copyright 2012, Vector Informatik GmbH
Al
l rights reserved.
User Manual
Topic: Technical Reference: CAPL Functions
Version: 7.6 SP4 | © Vector Informatik GmbH
Technical Reference: CAPL Functions
General
The CAPL language allows you to write programs for individual applications. For example, in the
development of network nodes, the problem often arises that the remaining bus nodes are not available
yet for tests. The system environment can be emulated with the help of CAPL, e.g. the data traffic of all
remaining stations can be emulated.
With CAPL you can also write programs to analyze data traffic which are adapted to your problem, or
programs for a gateway — a connection element between two buses — so that data can be exchanged
between different buses.
The emphasis in modeling lies in the description of the node‘s bus behavior, for which the language
capabilities of CAPL are normally sufficient.
User Manual
Topic: General Event Procedures
Version: 7.6 SP4 | © Vector Informatik GmbH
General Event Procedures
CAPL Function Overview » General Event Procedures
CAPL is a procedural language in which the execution of program blocks is controlled by events. These
program blocks are referred to as event procedures. Within an event procedure there may be reactions to
the following events:
Event
Event procedure
Receipt of any message
on *
Receipt of a CAN message
on message
Occurrence of an error frame
on errorFrame
Environment variable change (only CANoe)
on envVar
System variable change
on sysVar
on sysVar_change
Notification of system variable updates without
value change
on sysVar_update
Press of a key
on key
Elapse of a timer
on timer
Response to signal changes
Receipt of a signal
on signal_update
Signal change
on signal
Events of measurement system
Initialization of measurement (before start)
on preStart
Program start
on start
Measurement stop has been requested
on preStop
End of measurement
on stopMeasurement
Events of CAN controller
CAN controller goes to ErrorActive
on errorActive
CAN controller goes to ErrorPassive
on errorPassive
CAN controller reaches the Warning Limit
on warningLimit
CAN controller goes to Bus Off
on busOff
User Manual
Topic: General Event Procedures
Version: 7.6 SP4 | © Vector Informatik GmbH
The program code that you define in event procedures is executed when the event occurs. For example,
you could send a message onto the bus in response to a key press (
on key), track the occurrence of
messages on the bus (
on message), or else execute cyclically defined actions (on timer).
Example
Info for using handlers within CAPL test nodes.
Note for preStop handler, event handler and time handler:
If a test is stopped (test module inactive), these handlers will not be executed within the CAPL
test node.
Example:
In a XML test module a CAPL test node is added.
on preStart
{
write ("start");
}
on preStop
{
write ("stop");
deferStop (5000);
}
If the test module is inactive, the on preStart() write is displayed, on preStop will not be
executed.
| LIN Event Procedures | MOST Event Procedures | FlexRay Event Procedures | Unconditional (Boxed) Event Procedures |
剩余2091页未读,继续阅读
CrazyQIN
- 粉丝: 3
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功