当前位置:网站首页>从KEIL仿真界面导出数据的技巧
从KEIL仿真界面导出数据的技巧
2022-07-29 12:52:00 【挖矿大亨】
第一步:函数,根据需要编写,遵循linux编程规范
FUNC void GetADValue(void)
{
int i;
exec("log > Data.log");
printf ("******v28_in_r1*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_r1[i]);
}
printf ("******v28_in_r2*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_r2[i]);
}
printf ("******v28_in_iplus*****\n");
for (i = 0; i < 40; i++)
{
printf ("%f\n", g_ADData.v28_in_iplus[i]);
}
exec("log off");
}
第二步:将脚本命名为ini格式
第三步:导入ini格式的函数脚本
第四步:编译函数
第五步:在command window界面输入执行函数名称
第六步:查看导出数据,文件名称(也是可以修改,根据脚本来修改)为Data.log
边栏推荐
- 详述 TCP 的 TIME_WAIT 状态要维持 2MSL 的原因
- The torch using summary
- IO flow: node flow and process flow summarized in detail.
- Create and copy conda environment
- 每日优鲜解散疑云:生鲜电商们苦渡生死劫
- 【云原生】-Docker容器迁移Oracle到MySQL
- adb for mysql在什么平台进行开发啊
- 【个人收藏】一些比较有用的链接
- [Cloud native] Introduction and use of Feign of microservices
- Navicat如何连接MySQL
猜你喜欢
![[Cloud native] Introduction and use of Feign of microservices](/img/39/05cf7673155954c90e75a8a2eecd96.jpg)
[Cloud native] Introduction and use of Feign of microservices

图解 Attention(完整版)!

万字长文,揭秘华为数据治理体系!

3D Laser SLAM: Interpretation of LeGO-LOAM Papers---Hardware System Part

The interviewer was stunned by the self-growth of 4 mainstream database IDs in one breath

2022 IDEA (学生邮箱认证)安装使用教程以及基础配置教程

MySQL基础篇(四)-- 数据表的基本操作

SIP系统组成格式

gee引擎修改UI界面图文教程
![[Numpy] np.where](/img/a7/928fd5d7b8916e47603bd5587a53c7.png)
[Numpy] np.where
随机推荐
如何成为一名获得 Adobe 国际认证的专业设计师?
栈“后进先出”和队列中“先进先出”的含义
第二十一周作业
Bookkeeping APP: Xiaoha Bookkeeping 3 - Production of Login Page
adb for mysql在什么平台进行开发啊
influxdb2的使用
传奇人形怪爆率怎么设置?人形怪增加教程
xxl-job源码解析(技术分享)
【微信小程序】WXSS和全局、页面配置
DBeaver 安装及配置离线驱动
用支持LaTex的Markdown语句编辑一个数学公式
Meta,元宇宙和广告双败的一季
「 工业缺陷检测深度学习方法」最新2022研究综述
"Industrial flaw detection depth study method" the latest 2022 research were reviewed
[WeChat applet] WXSS and global, page configuration
[based] GO language. Why do I have to learn Golang and introduction to the language universal
数组及其内存管理三问
The strategy pattern replacement if the else
html+css+php+mysql实现注册+登录+修改密码(附完整代码)
即时通讯场景下安全合规的实践和经验