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

CSerialPort类在定位定向数据采集系统中的应用
引用本文:任海波,韩崇伟,李硕,陈晓明. CSerialPort类在定位定向数据采集系统中的应用[J]. 火炮发射与控制学报, 2010, 0(1)
作者姓名:任海波  韩崇伟  李硕  陈晓明
作者单位:西北机电工程研究所,陕西,咸阳,712099
摘    要:自行火炮的定位定向装置与导航计算机之间存在多线程串口通信问题,而CSerialPort是基于多线程的串口编程工具。在VC++6.0软件环境下,利用CSerialPort类实现自行炮定位定向数据的采集,并将符合要求的数据进行定时处理后存储到后台数据库中,通过MFCDAO技术访问数据库。结果表明:CSe-rialPort类能够有效提高多线程串口通信的编程效率,其优点是编程效率高,程序可控性强,扩展性好,容易实现多线程的串口通信,具有一定的推广应用价值。

关 键 词:通信技术  CSerialPort类  多线程串口通信  数据采集  

The Application of CSerialPort Class in the Data Acquisition System of Location and Orientatin
REN Hai-bo,HAN Chong-wei,LI Shuo,CHEN Xiao-ming. The Application of CSerialPort Class in the Data Acquisition System of Location and Orientatin[J]. Gun Launch & Control Journal, 2010, 0(1)
Authors:REN Hai-bo  HAN Chong-wei  LI Shuo  CHEN Xiao-ming
Affiliation:Northwest Institute of Mechanical & Electrical Engineering;Xianyang 712099;Shaanxi;china
Abstract:The problem of multi-thread serial communication would exist between position and azimuth determining device of self-propelled gun and navigation computer,and CSerialPort was the multi-threaded serial programming tool.The position and azimuth data of self-propelled gun was collected using CSerialPort class of the VC++ 6.0 software environment,and then the qualified data would be stored in the Backstage Database,which could be accessed through MFC DAO technology.The results show that:the CSerialPort class co...
Keywords:communication technology  CSerialPort class  multi-threaded serial communication  data acguisition  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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