基于C^(++) Builder 6 的串口通信程序实现方法研究  被引量:1

The Study of Programming Design Methods in Serial Communication Based on C^(++) Builder 6

在线阅读下载全文

作  者:余昌盛[1] 许力[1] 

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

出  处:《机电工程》2004年第7期14-18,共5页Journal of Mechanical & Electrical Engineering

基  金:浙江省教育厅科研项目资助(20010456)

摘  要:串口是计算机最重要的外设接口之一,对其通信程序实现方法进行研究有着重要的意义。叙述了在C++Builder6环境下串口通信程序的4种实现方法:采用直接嵌入汇编、利用Win dows的API通信函数、利用VB下的ActiveX控件MSComm、利用第三方控件SPComm。同时对各种实现方法进行了比较,并给出了编程实例。COM is the one of the most important peripheral interfaces in computer; therefore it is significant to do the study of programming design methods in serial communication. In this paper we discuss the four programming design methods of serial communication on C^(++) Builder 6 platform: direct embedded assembler, Windows API functions, MSComm component based on the technique of ActiveX and Third-Party component SPComm. We also give the compared results of the four programming design methods in serial communication, and provide programming examples.

关 键 词:C^++ BUILDER 6 串口通信 嵌入汇编 API通信函数 MSCOMM SPCOMM 

分 类 号:TP393.04[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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