Abstract
The article is mainly about study the PC part in serial communication between PC and SCM ,which is a core of distributed measurement and control system which bases on the serial communication Distributed, PC-communication procedures use MsComm provided by VB to complete serial communication, while single-chip microcomputers use C language to write. VB provides a serial port control procedures called Mscomm for the using of serial communication, the control of the communication process shielding the bottom of operation, application programmers can complete initialization of the serial port and the input and output of data owing to set up and monitor Mscomm control attributes and events. real-time data transfer between PC and single-chip microcomputer can be acheieved by the serial communication making use of mscomm and the procedures and hardware facilities. This paper discusses how to achieve this serial communication, and complete the communication protocol and the procedures and interface related to the design in the VB.