文件名称:java_serial
介绍说明--下载内容来自于网络,使用问题请自行百度
用java程序从串口读数据
在这个通讯程序中使用了一个简单的协议,既不同的消息之间用星号 * 作为分隔。这个
程序中的问题是ReadSerial进程和WriteSerial进程不能够同时启动,出错信息是不能够
打开串口,因为同样一个串口不能够同时被打开两次(在ReadSerial中声明了FileReader
和在WriteSerial中声明了FileWriter)。这样是不能够实现全双工通讯的。不知道有没有
做过的大侠能够讲讲处理的办法。 -with reading data from the serial port communication procedures in the use of a simple agreement the news is different between the asterisk * used as the separator. This procedure is the problem WriteSerial ReadSerial process and the process can not simultaneously activated error message is not to open the serial port, because the same one serial port can not be opened while two (ReadSerial stated in the FileRe Ader and WriteSerial stated in a job interview). This is not to achieve full-duplex communication. Whether it is not done to talk about the heroes of approach.
在这个通讯程序中使用了一个简单的协议,既不同的消息之间用星号 * 作为分隔。这个
程序中的问题是ReadSerial进程和WriteSerial进程不能够同时启动,出错信息是不能够
打开串口,因为同样一个串口不能够同时被打开两次(在ReadSerial中声明了FileReader
和在WriteSerial中声明了FileWriter)。这样是不能够实现全双工通讯的。不知道有没有
做过的大侠能够讲讲处理的办法。 -with reading data from the serial port communication procedures in the use of a simple agreement the news is different between the asterisk * used as the separator. This procedure is the problem WriteSerial ReadSerial process and the process can not simultaneously activated error message is not to open the serial port, because the same one serial port can not be opened while two (ReadSerial stated in the FileRe Ader and WriteSerial stated in a job interview). This is not to achieve full-duplex communication. Whether it is not done to talk about the heroes of approach.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
用java程序从串口读数据.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.