CSerialPort类在定位定向数据采集系统中的应用  被引量:5

The Application of CSerialPort Class in the Data Acquisition System of Location and Orientatin

在线阅读下载全文

作  者:任海波[1] 韩崇伟[1] 李硕[1] 陈晓明[1] 

机构地区:[1]西北机电工程研究所,陕西咸阳712099

出  处:《火炮发射与控制学报》2010年第1期26-29,共4页Journal of Gun Launch & Control

摘  要:自行火炮的定位定向装置与导航计算机之间存在多线程串口通信问题,而CSerialPort是基于多线程的串口编程工具。在VC++6.0软件环境下,利用CSerialPort类实现自行炮定位定向数据的采集,并将符合要求的数据进行定时处理后存储到后台数据库中,通过MFCDAO技术访问数据库。结果表明:CSe-rialPort类能够有效提高多线程串口通信的编程效率,其优点是编程效率高,程序可控性强,扩展性好,容易实现多线程的串口通信,具有一定的推广应用价值。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 could effectively improve the mul-tithreaded serial programming efficiency,and this method has high programming efficiency,strong process controllability.So it is easy to implement multi-threaded serial communction,and has a certain application value.

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

分 类 号:TJ306[兵器科学与技术—火炮、自动武器与弹药工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象