微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 测试测量 > 虚拟仪器 > 弱弱的问一个串口的问题!

弱弱的问一个串口的问题!

时间:12-13 整理:3721RD 点击:
1:pc和mcu通信,从串口中读取数据(使用rs232),
读进来的是根据232协议格式的二进制数据,那怎么把
他转换成数值在波形图上显示出来呢?
2:因为232的格式允许中间有5-8位的数据位,现在我至少
需要7位,加上起始位,停止位和奇偶校验位就要10位了,
可是在serial port init中data bits最多只能是8位,
怎么办?
刚接触lv,不太明白。。。
.49

1, You can find the conversion functions in Numeric and string funcion groups.

2, Use Instrument I/O>Serial>VISA configure serial port to setup the bits you
need.
Moreover, there are many helpful exaples. Once you have questions, please sear
ch those examples. help>search examples...
.128


.243

那个data bits就是指你的数据位,起始位等其他的有另外端口定义
.102

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top