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

一种基于.NET集散系统的串行通信实现
引用本文:吴珍发. 一种基于.NET集散系统的串行通信实现[J]. 莆田学院学报, 2005, 12(2): 59-63
作者姓名:吴珍发
作者单位:莆田学院,电子信息工程学系,福建,莆田,351100
摘    要:介绍以89C52单片机为下位机,PC机为上位机,通过由89C52单片机构成的通信控制器相连的集散系统(DCS)串行通信方案;研究在.NET中如何进行串行通信的编程技术,即如何利用.NET的平台调用技术实现在CLR中的托管代码调用非托管的Win32API串行通信DLL,并结合多线程、事件处理、同步访问技术来实现串行通信编程,还结合实例探讨单片机的串行通信编程技术。

关 键 词:集散系统  串行通信  多线程  平台调用
文章编号:1672-4143(2005)02-0059-05
修稿时间:2004-11-16

The Implementation of Serial Communications in DCS Based on .NET Technology
WU Zhen-fa. The Implementation of Serial Communications in DCS Based on .NET Technology[J]. journal of putian university, 2005, 12(2): 59-63
Authors:WU Zhen-fa
Abstract:This paper introduces a solution of serial communications in Distributed Control System(DCS) which uses 89C52 single-chip microprocessor as down processor and PC computer as up processor and they are connected by 89C52 single-chip microprocessor communication controller. The programming techniques of serial communications that how to realize the serial communications by using Platform Invocation Services to invoke the unmanaged win32 API serial communications DLL codes in Common Language Runtime(CLR) environment, by combining with multi-thread/event handler/synchronization access technology are studied in .NET platform. This paper also discusses the programming techniques of serial communications of single-chip microprocessor by taking a programming sample.
Keywords:Distributed Control System(DCS)  serial communications  multi-thread  Platform Invocation  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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