当前位置:网站首页>Canoe learning notes (6) diagram of logging block data recording module
Canoe learning notes (6) diagram of logging block data recording module
2022-06-22 07:09:00 【wujiangzhu_ xjtu】
Refer to the official tutorial , Collated personal self-study notes , Convenient for future reference .
CANoe It's Germany Vector A bus development environment developed by the company , Full name CAN open environment, It is mainly used for the development of automobile bus .CANoe The purpose of the early stage of CAN Communication network modeling 、 Simulation 、 Testing and development , It's the Internet and ECU Development 、 Professional tools for testing and Analysis .
Reference link :
CANoe/CANalyzer A collection of basic tutorials
Tutorial demo version CANoe 12.0.75
adopt CANoe Measurement Setup Window logging block The module implements data recording .
In a real scenario, the amount of data on the bus is increasing , So many times we need to record the online measurement data to facilitate offline analysis .
Catalog
2. logging block Configuration of
2.1 logging Configuration of log file
3. Recording mode / Trigger mode
3.2 Single trigger recording mode
1.logging block data format
Data formats are divided into message oriented and signal oriented :
Message oriented —— .blf and .asc Format .blf Smaller storage footprint
Signal oriented ——.mdf Format

2. logging block Configuration of
This module needs to be : Record file configuration , Record trigger mode configuration .

logging Module in Measurement Setup Under the window , double-click logging The module configures the triggering mode , Double click the figure below "test01" Location configuration log file , Here is the previous record file named test01 Caused by .

2.1 logging Configuration of log file
double-click logging On the right side of the module log file Configure log file , You can configure the name of the log file , Record filters, etc , Generally, only file names are used for basic applications , Storage location , Format configuration .

Record file configuration can be set field codes, choice increment by file size Realize that the size of the record file reaches the set value and is automatically stored as the next file .

In the following figure, set the record file every time it reaches 1M Start automatically recording to the next logging file .

3. Recording mode / Trigger mode
double-click measure setup Under window logging modular , Eject trigger / The record mode configuration dialog box is shown in the following figure :
Can be found in mode Select record mode from the drop-down box

logging modes Is when to start / End record , There are three common recording modes :entire measurement,single trigger, toggle trigger
3.1 Full record mode
Full record mode entire measurement, Start recording at the beginning of the project , End record at the end of the project .

3.2 Single trigger recording mode
single trigger It can be understood as a recording mode in which only one trigger condition needs to be set . The trigger event can be used as the beginning of the recording , As a record of the period of time before and after the event . The pre and post time periods need to be set in advance . You only need an event that triggers the start

3.3 toggle Trigger
and single similar , Contains two trigger events , A trigger starts , A trigger ends

To configure single trigger and toggle trigger,CAPL The trigger needs to be in logging Add before the module program node To trigger

Configure the pre and post time periods

4. Practical example
step1 measurement setup Window enable logging modular

step2 double-click measurement setup window logging file Configure log file

step3 double-click measurement setup window logging Module set trigger conditions

step4 The trigger condition is configured as single trigger, Check start The trigger condition , Indicates that... Is triggered when the project starts , However, the end time period still defaults to the end of the project , This is because the default post time period is infinite , It has been recorded since the beginning . Uncheck... In the following figure "infinite post trigger time", And set the time after the time trigger post trigger time by 5000ms. After the project starts , Five seconds . Generally, the default time period before the event is 0S.


step5 Run the project after confirmation

See the bottom Write The window shows logging Start and end time of , just 5S,trace The window also happens to record 5S data .


step6 The generated logging Drag the file to trace window , You can see that the deadline is also 5S about .


边栏推荐
- How can we effectively alleviate anxiety? See what ape tutor says
- Yolov1 (prediction process)
- Py's scorecardpy: a detailed introduction to the introduction, installation and use of scorecardpy
- Notes on advanced combinatorics -- Conclusion
- [rust daily] January 23, 2022 webapi benchmarking
- [distributed external detection] Odin ICLR '18
- Introduction to 51 Single Chip Microcomputer -- timer and external interrupt
- Introduction to 51 Single Chip Microcomputer -- digital tube
- Wildfire stm32f407zgt6 learning notes beginner level chapter basic knowledge points
- 生成字符串方式
猜你喜欢

Introduction notes to quantum computing (continuously updated)
![[out of distribution detection] learning confidence for out of distribution detection in neural networks arXiv '18](/img/07/d5479dde181c355d95c73e2f58c0da.jpg)
[out of distribution detection] learning confidence for out of distribution detection in neural networks arXiv '18

The journey of an operator in the framework of deep learning
![[out of distribution detection] deep analog detection with outlier exposure ICLR '19](/img/65/4f974a33c1d76be97b131397de0fee.jpg)
[out of distribution detection] deep analog detection with outlier exposure ICLR '19

Training penetration range 02 | 3-star VH LLL target | vulnhub range node1

【GAN】SAGAN ICML‘19

JDBC查询结果集,结果集转化成表

33歲程序員的年中總結

sessionStorage 和 localStorage 的使用

How can we effectively alleviate anxiety? See what ape tutor says
随机推荐
Examples of Algebra: understanding of normal subgroups and quotient groups
Map of STL knowledge summary
5G NR PWS系统
June 21, 2022: golang multiple choice question, what does the following golang code output? A:3; B:4; C:100; D: Compilation failed. package main import ( “fmt“ ) func
网站预缓存代码
Implement a timer: timer
Notes on algebra 10.1: understanding of symmetric polynomials and derivation of cubic resolvents
Solutions to newinstance() invalidation
Rebuild binary tree
Training penetration range 02 | 3-star VH LLL target | vulnhub range node1
Data security practice guide - data collection security practice - data classification and classification
首次用DBeaver连接mysql报错
Data security practice guide - data collection security management
[internship] cross domain problems
Neuron+eKuiper 实现工业物联网数据采集、清理与反控
2022年畢業生求職找工作青睞哪個行業?
The solution of word document being locked and unable to edit
猿辅导最强暑假计划分享:暑假计划这样做,学习玩耍两不误
33岁程序员的年中总结
Jupyter notebook file storage location
