期刊文献+

基于多线程的多串行通信任务的实现 被引量:8

The Multi-serial Communication Based on Multithreading Technigue
下载PDF
导出
摘要 根据串口通信的基本原理 ,介绍了利用 WIN3 2 API编程 ,基于单进程和多线程的多任务的串行通信 ,实现在一台计算机上对两个 PLC控制网络的数据进行通信的任务 ,并对影响串行通信的因素进行了探讨 .有效地解决了在串口通信中的实时响应问题 ,降低了数据丢失率 。 The paper presents a new method that is used to communicate dynamically between multi serial ports or peripherals and one PC. The theory of serial communication is discussed. The multi serial communication based on multithreading technigue with WIN32API is presented. Meanwhile, the elements of influencing serial communication are researched. The method resolves the question of real time responding in the serial communication validly, reduces losing rate of data and improves reliability of system.
作者 李志俊 程涛
出处 《武汉理工大学学报(交通科学与工程版)》 北大核心 2002年第5期575-578,共4页 Journal of Wuhan University of Technology(Transportation Science & Engineering)
基金 国家自然科学基金 (批准号 :79970 0 2 5) 国防预研基金 (批准号 :0 0 J1 5.3.3.JW0 52 8)资助
关键词 串行通信 WIN32API 多线程 事件驱动 实现方法 组成 原理 serial communication win32API multi thread event drive synchronism mutex
  • 相关文献

参考文献7

二级参考文献12

  • 1张延平 林博文.计算机语音集成技术和应用[M].北京:北京邮电大学,1997,7..
  • 2张延平,学位论文,1997年,33页
  • 3David J K,Visual C++ 6.0 Technology Inside,1999年
  • 4Mu Lingsheng,Visual C++ 5.0 Use And Develop,1998年
  • 5Charlesa M,Windows 95 Telecom Programming,1998年
  • 6Gofton P W,Madter Serial Communication,1995年
  • 7微软公司.Win32程序员参考大全(1-5册).清华大学出版社,1995
  • 8施小龙等编写.BorlandC++3.1-4.0深入编程.北京:学苑出版社.1994
  • 9张均保等译.VisualBasic4.0对象和类——从入门到精通.北京:科学出版社,1997
  • 10周治平.Windows环境下可编程控制器通讯程序的设计[J].微型电脑应用,1998,14(1):88-90. 被引量:1

共引文献46

同被引文献38

引证文献8

二级引证文献33

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部