检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:任海波[1] 韩崇伟[1] 李硕[1] 陈晓明[1]
出 处:《火炮发射与控制学报》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[兵器科学与技术—火炮、自动武器与弹药工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.171