基于Java的串口通信  被引量:17

Java-Based Implementation on Serial Communication

在线阅读下载全文

作  者:李良[1] 朱善安[1] 

机构地区:[1]浙江大学电气工程学院,杭州310027

出  处:《电子器件》2007年第2期714-716,720,共4页Chinese Journal of Electron Devices

摘  要:为实现计算机与外围数据源设备的自由通信,能耗监控系统采用了串口通信的方式,而Java对开发该系统具有其独特的优势.系统在Java程序中使用comm.jar开发包通过RS-232串口收发数据,并与基于RS-485总线的设备进行数据通信.多线程技术在串口通讯中的运用,使得应用程序能同时执行不同的任务,提高了资源的利用率和系统的整体性能.To implement free communication between computer and peripheral data source equipment,the energy consumption monitoring system uses serial communication as the communication method,while Java has its special advantage in developing this system.The system receives and sends data in Java through RS-232 COM port with comm.jar package and implements serial communication with the equipments based on RS-485 Bus.The application of the theory of multithread on serial communication enables the implementation of diff...

关 键 词:串口通信 JAVA RS-485总线 comm.Jar开发包 多线程 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象