文件名称: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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 95302938java_serial.rar 列表 用java程序从串口读数据.txt