(148) Java串行通信及应用研究
【摘要】随着信息技术的发展以及计算机网络的广泛使用。计算机通信技术越来越成熟。在众多通信实现方案中,串行通行技术作为一种灵活、方便、可靠的通信手段,有着广泛的应用。尤其是在工业控制领域,微机与微机、微机与外设、微机与分布式下位机等都可以通过RS232串性端口互连通信,以实现控制和传输数据等目的。Java
语言因具有平台无关性、 安全、 易于使用、易于理解、易获得免费资源等优点而受到众多用户的欢迎。它在网络上的出色表现已经有目共睹,本文要研究的是如何使用Java语言利用串行端口实现通信。
文中首先介绍了事件机制与串行通信的有关知识,然后还介绍了Java串行通讯协议的开发包Commapi中几个主要的串行通信类和接口的字段,构造函数,方法。并给出了一个可以通过串口COM1,COM2在一台PC机上实现全双工通信的具体类库。
关键词:串行通信;分布式控制;通信应用程序接口;事件机制
【Abstract】Along with the technical of communication
development and the extensive usage of calculator network.The calculator
communication technique is more and more mature. In numerous communication
realize project, serial communication technique is used as a kind
of vivid, convenience, dependable, have got the extensive application.
especially ,computer with computer, computer with peripheral equipment,computer
and single-chip microcomputer can pass the RS232 port to communicate
with each other and communication data in industry realm.The language
of Java suffer to numerous customers welcome because of have the system
irrelevant, safety, apt to the usage and apt to comprehend, easy winning
free resources etc. It is on the network of the outstanding performance
is already obvious to all, this text wants to study of is a control
that the language of Java make use of how to the first floor a port
realizes communication.This text introduces to settle a dispute first
event mechanism has something to do with a correspondence of knowledge,
then still introduced the Java a communication agreement development
a Commapi packet inside a few and main a correspondence with connect
Field Summary, Constructor Summary, Constructor Summary.And give some
class which can pass COM1, COM2 to realize full duplex communicate.
Key words:serial Communication、Distributed control、Communications
API、event mechanism
目 录
摘要………………………………………………………………… 1
Abstract ……………………………………………………………… 2
第一章 引言……………………………………………………… 3
1.1 Java事件处理机制的介绍…………………………………………… 3
【责编:网学网
上传论文】
特别推荐
关于网学 |
万能工具 |
在线交流 |
会员中心 |
查询论文 |
招聘说明 |
精品资源 |
专题论文 |
会员中心 |
联系方式 |
下载目录 |
论文目录
Copyright 2005-2018 www.myeducs.cn All Rights Reserved 版权所有·网学网 提供大量原创论文 参考论文 论文资料 源代码 管理及投稿 E_mail:3710167@qq.com
郑重声明: 本网站论文均来自互联网,由本站会员上传或下载,仅供个人交流、学习、参考之用,版权归原作者所有
请下载完后24小时之内删除,任何人不得大幅抄录、在期刊上发表或作为商业之用。如涉及版权纠纷,本网站不承担任何法律及连带责任。