找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1149|回复: 3

串口数据格式转换的问题,多谢

[复制链接]
发表于 2006-5-17 18:45:36 | 显示全部楼层 |阅读模式
从下位机接收到形如"80 03 02 01 A3"(HEX,80为桢头,A3为桢尾)的数据(String),在LV 里要提取数据并重新排列为010203,并转成十进制的数字(66051),怎么办?多谢指教[em07]
发表于 2006-5-17 21:03:03 | 显示全部楼层
取出来之后,再用concatenate string,因为它输入有几个,反过来连就可以了!
回复 顶

使用道具 举报

发表于 2006-5-18 02:28:39 | 显示全部楼层
<img src="attachments/dvbbs/2006-5/20065171828850841.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-5/20065171828850841.gif\');}" onmousewheel="return imgzoom(this);" alt="" />
自己看着办吧

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

发表于 2006-6-12 19:21:06 | 显示全部楼层
<>用数组函数,还有格式转换节点来处理</P>
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 16:52 , Processed in 0.039413 second(s), 11 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表