首页 | 本学科首页   官方微博 | 高级检索  
     

Visual C++中串行通信方法的实时性研究
引用本文:廖旋,肖继学,殷巧,程志.Visual C++中串行通信方法的实时性研究[J].西华大学学报(自然科学版),2012(6):65-68,72.
作者姓名:廖旋  肖继学  殷巧  程志
作者单位:西华大学机械工程与自动化学院
基金项目:四川省教育厅科研基金(08ZC010)
摘    要:基于Visual C++6.0集成开发环境提供的ActiveX控件和API这2种串口通信方法,设计了串口通信的一种实时性分析系统。该系统的硬件包括一个单片机系统,用于数据的串行发送,以及2台PC机,分别用于基于ActiveX控件和API的数据串行接收。系统的软件包括单片机系统的串口通信模块和PC机上基于ActiveX控件和API的串口通信模块。实验结果表明,API串行通信方法的实时性优于ActiveX控件串行通信方法。

关 键 词:ActiveX控件  API函数  串行通信

Research on Real-time of Serial Communication Methods in Visual C++ Integrated Development Environment
LIAO Xuan,XIAO Ji-xue,YIN Qiao,CHENG Zhi.Research on Real-time of Serial Communication Methods in Visual C++ Integrated Development Environment[J].Journal of Xihua University:Natural Science Edition,2012(6):65-68,72.
Authors:LIAO Xuan  XIAO Ji-xue  YIN Qiao  CHENG Zhi
Affiliation:School of Mechanical Engineering and Automation,Xihua University,Chengdu 610039 China
Abstract:A real-tlme analysis system is designed for two kinds of serial communication : ActiveX controls and the AH function in Visual C + + 6.0 integrated development environment. It consists of a MCU system and two PCs. The data from the MCU system in serial are both received by the two PCs at the same time in ActiveX component and the API function serial method respectively. Its soft- ware includes serial port communication module used in the MCU system and serial communication modules based on ActiveX component and the API function, which run in two PCs respectively. Experiment results show that the real-time of the API function method is better than that of ActiveX component approach.
Keywords:ActiveX control  API function  serial communication
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号