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

基于VC+ +6.0的数据可视化串口通信
引用本文:叶艳艳,樊峰,陈西曲.基于VC+ +6.0的数据可视化串口通信[J].武汉工业学院学报,2012,31(1):59-62.
作者姓名:叶艳艳  樊峰  陈西曲
作者单位:武汉工业学院电气与电子工程学院,湖北武汉,430023
基金项目:湖北省教育厅高等学校省级教学研究项目(2009253)
摘    要:在描述串口通信基本原理的基础上,介绍了基于VC++6.0开发环境下,用MSComm及NTGraph控件实现单片机与PC机之间的串口通信和波形显示。串口通信和波形显示的应用程序集成MSComm控件和NTGraph控件,MSComm控件的使用方法及代码实现是实现串口通信的关键,NTGraph控件则是实现通信数据波形实时显示的关键。实验结果表明,开发出的应用程序可以可靠地实现单片机与PC机之间数据的稳定传输与波形显示。

关 键 词:VC++  串口通信  MSComm控件  NTGraph控件  波形显示

Data visualization of serial communication based on visual based on visual C+ +6.0
YE Yan-yan , FAN Feng , CHEN Xi-qu.Data visualization of serial communication based on visual based on visual C+ +6.0[J].Journal of Wuhan Polytechnic University,2012,31(1):59-62.
Authors:YE Yan-yan  FAN Feng  CHEN Xi-qu
Affiliation:(School of Electrical and Electronic Engineering,Wuhan Polytechnic University,Wuhan 430023,China)
Abstract:This paper describes the basic principle of serial communication and uses MSComm and NTGraph Control to realize serial communication and waveform display between PC and single chip microprocessor based on Visual C++6.0.The application software with serial communication and waveform display integrate in MSComm Control and NTGraph Control,and how to use MSComm Control and the code implementation is the key point to realize serial communication,and NTGraph Control is the key point to realize real-time display of the communication data.The experiment results show that the application software can reliably and stably transmit data and display waveform between PC and single chip microprocessor.
Keywords:Visual C++  serial communication  MSComm Control  NTGraph control  waveform display
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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