›› 2011, Vol. 24 ›› Issue (2): 24-.

• 论文 • 上一篇    下一篇

基于Visual C#的串口通信程序设计

翟希述,王宝兴,范淼   

  1. (聊城大学 物理科学与信息工程学院,山东 聊城 252059)
  • 出版日期:2011-02-15 发布日期:2011-02-23
  • 作者简介:翟希述(1974-),男,硕士研究生。研究方向:光通信技术。

Programming of Serial Communication Based on Visual C#

 Zhai Xi-Shu, WANG Bao-Xin, FAN Miao   

  1. (School of Physics Science and Information Engineering,Liaocheng University,Liaocheng 252059,China)
  • Online:2011-02-15 Published:2011-02-23

摘要:

在Visual C# 2008环境下,利用SerialPort组件,对实现串口读写数据及简单数据处理的方法作了探讨,通过 SerialPort组件属性、方法,可以方便灵活地写出串口通信程序,生成的软件界面友好、操作使用方便。实践证明,效果良好。

关键词: 串口通信, Visual C#, SerialPort组件

Abstract:

This paper introduces the realization of serial communication by SerialPort in the Visual C# 2008 environment.It also covers the method for simple data processing.The serial communication program can be written with convenience and flexibility by SerialPort.The software interface produced is friendly and easy to operate.It is shown that good effect can be achieved by using SerialPort.

Key words: serial communication;Visual C# lanuage;Serial Port

中图分类号: 

  • TN919