基于C#的串口通信系统的研究与设计
DOI:
CSTR:
作者:
作者单位:

上海理工大学光电信息与计算机工程学院上海200082

作者简介:

通讯作者:

中图分类号:

TP311.52

基金项目:


The research and design of serial communication system based on C#
Author:
Affiliation:

School of OpticalElectrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200082, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对工业控制中PC对执行机构的控制与数据处理等问题,采用RS232串口线连接PC端上位机和CPU板的结构来设计一个串口通信系统。该系统的上位机采用.NET Framework的Windows Forms模块,并利用其常用控件的方法、属性和事件,实现了PC下载编译文件至CPU板、发送功能指令、接收应答数据,并实时显示通信过程。经实际验证,该系统通信功能正常,且界面友好,具有功能强、操作方便的优点,有较强的实用性。

    Abstract:

    In industrial control, for the problem of controlling the actuator directly by PC and data processing, we design the serial communication system by using RS232 serial cable to connect PC and CPU board. By using the Windows Forms module of .NET Framework and the properties、events and methods of its commonly used controls, we design the PC software. It can realize the goal of downloading compiled files from PC to CPU board,sending function commands,receiving response data, and it has realtime display for communication process. Practical use verifies that the serial communication of this system is correct, It has a friendly interface,advantages of strong function and easy operation,and good practicality.

    参考文献
    相似文献
    引证文献
引用本文

周阳,周美娇,黄波,刘金利.基于C#的串口通信系统的研究与设计[J].电子测量技术,2015,38(7):135-140

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2016-05-27
  • 出版日期:
文章二维码