摘要
在现代实时监控系统和工业自动化领域系统中,许多系统通过与串行设备通信从而控制终端设备,如何能够高效而又快速地开发串口通信程序显得尤为重要。以一个实际的控制系统为背景,简要介绍串口通信,阐述使用SerialPort类实现串口通信的过程,最后通过实际的应用展示SerialPort类能够简单快捷地实现串口通信。
In the modem real-time monitoring systems and industrial automation systems, many systems communicate with the serial device to control the terminal equipment. How to develope the serial communication program efficiently and fast is particularly important. In this paper, taking a practical control system as the background, brief introduction of serial communication is given,the SerialPort class is used to realize the process of serial communications. Finally, with the practical application, it is demonstrated that SerialPort class can easily and quickly realize serial communication.
出处
《电脑与电信》
2011年第3期47-48,51,共3页
Computer & Telecommunication