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

用Visual Basic 6.0实现组态王和单片机的串口通信
引用本文:宗风强,王振友.用Visual Basic 6.0实现组态王和单片机的串口通信[J].山东理工大学学报,2005(3).
作者姓名:宗风强  王振友
作者单位:山东理工大学计算机科学与技术学院 山东淄博255049 (宗风强),山东理工大学计算机科学与技术学院 山东淄博255049(王振友)
摘    要:讨论了由PC机中的组态王监控软件和单片机组成的测控系统间的数据通讯问题.对单片机,利用VB提供的MSComm控件收发串口数据;对工控软件,通过动态数据交换(DDE)技术与VB6.0交换数据,使得组态王能透明地操作串口数据.

关 键 词:组态王  动态数据交换(DDE)  串口通信  单片机

Serial communication between Kingview control software and singlechip with Visual Basic 6.0
ZONG Feng-qiang,WANG Zhen-you.Serial communication between Kingview control software and singlechip with Visual Basic 6.0[J].Journal of Shandong University of Technology:Science and Technology,2005(3).
Authors:ZONG Feng-qiang  WANG Zhen-you
Abstract:The communication problem between Kingview control software of PC and the single chip processor is discussed. For the single chip processor the MSComm controller of VB is used to receive and transmit serial data, and for the Kingview control software, the data is exchanged with VB via DDE(dynamic data exchange) technology so that it can use the serial data automatically.
Keywords:kingview  dynamic data exchange(DDE)  serial communication  single chip processor  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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