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

基于VC6的分布式仿真系统多线程串行通信的实现
引用本文:龙勇,袁静,黄先祥.基于VC6的分布式仿真系统多线程串行通信的实现[J].计算机工程与应用,2006,42(6):140-143,167.
作者姓名:龙勇  袁静  黄先祥
作者单位:第二炮兵工程学院兵器发射理论与技术国家重点学科实验室,西安,710025
摘    要:在介绍串行通信的基本原理和方法的基础上,针对某分布式仿真系统高效数据通讯的需要,结合Windows环境下的多任务并发机制,研究了采用VC6的不同函数实现基于分时串行实时通信的方法,阐述了多线程任务的实现,并对如何在SDI应用程序中实现基于控件的多线程串行通信进行了深入分析。该仿真系统中采用邦员机作为上位机,ADAM系列模块作为下位机,通过1对8串口卡实现上位机分时控制ADAM模块并进行通信,最后给出了基本通讯程序。

关 键 词:串行通信  多线程  通信控件  分布式系统
文章编号:1002-8331-(2006)06-0140-04
收稿时间:2005-07
修稿时间:2005-07

Research on Serial Communication on Distributed Simulation System Based on Multithreading Technology of VC6
Long Yong,Yuan Jing,Huang Xianxiang.Research on Serial Communication on Distributed Simulation System Based on Multithreading Technology of VC6[J].Computer Engineering and Applications,2006,42(6):140-143,167.
Authors:Long Yong  Yuan Jing  Huang Xianxiang
Abstract:The fundamental and methods of serial communication are introduced.According to the practical demand of data communication efficaciously in some distributed simulation system,the paper researches the method of time-sharing serial communication based on VC6.0 environment and thoroughly sets forth on how to carry out multithreading programming.The muhithreading serial communication technology based on control in SDI application is analyzed deeply. The simulation system adopts federal PC as the master computer and ADAM serial modules as slave computer.It can make the federal PC control several function modules through 1 to 8 serial communication card.The basic communication program codes are given at last.
Keywords:serial communication  multithreading  communication control  distributed system
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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