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

基于VB的主从机串行通信系统设计
引用本文:荆茂祥,李冬辉.基于VB的主从机串行通信系统设计[J].红外与激光工程,2003,32(2):207-210.
作者姓名:荆茂祥  李冬辉
作者单位:天津大学,自动化学院,天津,300072
摘    要:串行通信是数据采集系统中最常用的通信手段之一。设计并研制了基于VB的LED大屏幕显示串行数据通信系统,具有编程灵活、控制通信对象容易的优点。通过8250的奇偶校验位与单片机的SM2位的配合,实现了PC机与多个单片机的串行数据通信。介绍了基于VB6.0进行串行通信的流程和编程,较好地解决了同时使用通信方式0与方式1时引起的RXD端口的冲突问题。实验证明,该设计简单、实用,提高了系统设计的效率。

关 键 词:串行通信  主从机通信  VB6.0
文章编号:1007-2276(2003)02-0207-04
收稿时间:2002/12/28
修稿时间:2002年12月28

Design for serial communication of master/slave computer based on VB
JING Mao\|xiang,LI Dong\|hui.Design for serial communication of master/slave computer based on VB[J].Infrared and Laser Engineering,2003,32(2):207-210.
Authors:JING Mao\|xiang  LI Dong\|hui
Abstract:Serial communication plays an essential role in data acquisition system. It is convenient and efficient to realize serial data communication by using communication control of VB\{6.0\}, comparing with other programming methods. Serial data communication system for LED displaying between PC and multi\|microcomputer is designed through the collaboration of parity\|bit of 8250 and SM\-2 of 8031. The flow chart and some programming skill based on VB6.0 are introduced in detail. The confliction between communication mode 0 and mode 1 is solved when they are used simultaneously. The experimental result shows that easy and practical design can increase the efficiency of system design.
Keywords:Serial communication  Master\|slave communication  VB6  0  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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