当前位置:网站首页>[IC5000 tutorial] - 01- use daqdea graphical debug to debug C code
[IC5000 tutorial] - 01- use daqdea graphical debug to debug C code
2022-06-30 11:13:00 【Automotive electronic assistant】
Catalog
2 How to use iSystem daqIDEA debugging
iSystem daqIDEA It is a simple but effective graphical presentation tool for large data sets . It will be different The value of the variable Displayed in the 2D Chart and Numerical table in .
Acquired data Can be exported to a file , Variable configurations can be saved to configuration files . You can examine the chart carefully by scaling and stretching , If you ignore it , The maximum number of up-to-date data... Will be displayed .
daqIDEA from winIDEA Start in environment .
1 open iSystem daqIDEA
stay winIDEA In the menu bar , Choose in turn Test –> Launch daqIDEA, See the picture 1-1.

chart 1-1
Be careful :
First boot , Warnings about missing configuration files will appear , See the picture 1-2. This profile is created by daqIDEA establish , Contains the variable name and other settings from the previous session .

chart 1-2
2 How to use iSystem daqIDEA debugging
In the pop-up iSystem daqIDEA In the dialog box , single click Add Variable Button , Add the... To be observed C Code variable name , See the picture 2-1.

chart 2-1
notes :
Application control Introduce :

In order to prevent daqIDEA and winIDEA Switching between , You can use the three buttons in the upper right corner for simple application control .
- Download (F5) – take winIDEA The executable specified in the workspace is downloaded to the destination .
- Run (F6) – Start / Restore application execution on target .
- Stop (F7) – Stop application execution on the target .
stay Stop Button The right side of the , There is the running state of the current application .
Data Acquisition Control Introduce :

The three buttons above control the execution of the actual application running on the target system , The three buttons under the variable configuration table are used to control data collection .
- Start/Resume (F9) - Start data collection for the variables specified in the variable configuration table . If our variable name is invalid , A warning appears at the bottom of the table , And the collection process will not continue .
- Pause (F10) - This does not actually stop data collection , Because the process continues in the background . The purpose of pause is to observe the collected data displayed on the chart . Chart animation can be started by clicking again / Restore button to restore
- Stop (F11) – Stop data collection . Click start / Resume button , Acquired data will be lost , The whole process will restart .
The following figure is shown below 2-2 Added 3 Take variables as an example .

chart 2-2
notes :
- Sampling: Set the data sampling interval for each variable to one of four values : 1 second 、100 millisecond 、10 Milliseconds or 1 Milliseconds or the maximum possible acquisition speed ( It certainly depends on the speed of the target processor and other system parameters );
- Variable name:C Code variable name ;
- Chart:daqIDEA Charts are used in to graphically present the data obtained from the target hardware . Each point on the chart represents a sample of collected data . We have already mentioned the possibility of putting different variables into separate charts , And you can also scale the data of specific variables to make the data more readable .
We can also easily zoom and move the graph with the mouse to see the required details :
- adopt Left click One of the charts and drag it , We can move it .
- adopt Right click One of the charts and drag , We drew an area that we wanted to look at more closely . This also changes the aspect ratio , If we have a very high density in one dimension .
- We can also use the mouse wheel to zoom in and out . Rolling time , We zoom in / Reduce the current position of the mouse cursor . If data collection is not paused or stopped , Scrolling the mouse will only zoom in and out of time (x) Axis .
- Scale: The way the data is displayed in the chart is determined by Scale factor And color assignment .Scale factor Enables us to display multiple variables with exponentially different values . Possible Scale yes 1e-9 To 1e+9 Between 10 Power and its negative value .
- Format: Used to specify how data is displayed in the data table . For integer variables , The possible format is decimal 、 Hexadecimal and binary , And for floating-point variables , We can choose between regular format and scientific format .
- Colors: Use the color selector dialog box that pops up by clicking the variable color button to select a color . From a group of 7 Assign a default color to each new variable in the predefined colors .
First click Data Acquisition Control Medium Start/Resume Button , And then click Application control Of Run Button , See the picture 2-3.

chart 2-3
At this time in Chart and Data sheet in , Real time sampled variable values , See the picture 2-4.

chart 2-4
notes : Each variable can be assigned a separate chart display , See the picture 2-5.

chart 2-5
3 How to export sampling data
The collected data can be exported to three different formats :Excel、CSV Or a plain text file . This option is available in the menu File --> Export Data Find , See the picture 3-1,3-2,3-3.

chart 3-1

chart 3-2

chart 3-3
4 ending
For more “ Automotive electronic information ” and “ Tool chain use ”,
Please pay attention to “ Automotive electronic assistant ”(CSDN and WeChat official account The same name ), Be your good assistant .

边栏推荐
- Dickinson's soul chooses its companion
- 线代(高斯消元法、线性基)
- 【西安交通大学】考研初试复试资料分享
- 200000 bonus pool! [Alibaba security × ICDM 2022] the risk commodity inspection competition on the large-scale e-commerce map is in hot registration
- Methods and usage of promise async and await
- 从开源项目探讨“FPGA挖矿”的本质
- ESP32-C3入门教程 基础篇⑫——量产烧写设备配置和序列号, NVS partition分区确认, NVS 分区生成程序, csv转bin
- When does the database need to use the index [Hangzhou multi surveyors] [Hangzhou multi surveyors _ Wang Sir]
- 导致系统性能失败的10个原因
- Jetpack Compose DropdownMenu跟随手指点击位置显示
猜你喜欢

电商两位大佬花边新闻刷屏,代表电商回归正常,将有利于实体经济

LVGL 8.2 Image

The precision problem of depth texture in unity shader - stepping pit - BRP pipeline (there is no solution, it is recommended to replace URP)

从开源项目探讨“FPGA挖矿”的本质

20万奖金池!【阿里安全 × ICDM 2022】大规模电商图上的风险商品检测赛火热报名中!...

【STL源码剖析】容器(待补充)

MySQL导出sql脚本文件

Kotlin 协程调度切换线程是时候解开谜团了
![When does the database need to use the index [Hangzhou multi surveyors] [Hangzhou multi surveyors _ Wang Sir]](/img/2a/f07a7006e0259d78d046b30c761764.jpg)
When does the database need to use the index [Hangzhou multi surveyors] [Hangzhou multi surveyors _ Wang Sir]

Deep dive kotlin synergy (16): Channel
随机推荐
Deep dive kotlin synergy (16): Channel
Use of switch statement in go language learning
SQL必需掌握的100个重要知识点:汇总数据
List介绍
The intelligent DNA molecular nano robot model is coming
【leetcode 16】三数之和
SQL必需掌握的100个重要知识点:联结表
8行代码实现快速排序,简单易懂图解!
Understanding society at the age of 14 - reading notes on "happiness at work"
200000 bonus pool! [Alibaba security × ICDM 2022] the risk commodity inspection competition on the large-scale e-commerce map is in hot registration
记一次ViewPager + RecyclerView的内存泄漏
SQL必需掌握的100个重要知识点:插入数据
Unity Shader - 踩坑 - BRP 管线中的 depth texture 的精度问题(暂无解决方案,推荐换 URP)
Collectors. Tomap application
【IC5000教程】-01-使用daqIDEA图形化debug调试C代码
[STL source code analysis] iterator
第一届中国数字藏品大会即将召开
中移OneOS开发板学习入门
MySQL导出sql脚本文件
【STL源码剖析】容器(待补充)