摘要
文中结合实际应用对GPS全球定位系统的定位导航信息的接收和参数数据的提取进行了讨论,在Win32环境下(Windows9x/NT/2000)基于BorlandC++Builder开发平台实现微计算机与GPS接收模块的串行通信编程。详细介绍了GPS数据通信的基本概念和数据格式,以及在Windows消息机制下的多线程异步串行通信机制,采用VCL组件技术实现Win32环境下与GPS数据通信程序的快速开发。应用该方法编写的程序简单方便,可以将卫星定位导航信息从GPS接收机完整传送到微计算机中,数据通信功能稳定可靠。
Practical program techniques of serial communication that connected PC with GPS under Win32 environment (Windows9x/NT/2000) are discussed. Firstly, the data format and the transmission mode of GPS are introduced. Then the process of the reliable serial communication program based on Windows message mechanism is explained. Finally the rapid application development used VCL component on the Borland C++ Builder platform are introduced in detail. The runtime results show that the GPS data communication program, which is coded simply and conveniently, performs credible and stable.
出处
《微机发展》
2003年第12期11-13,共3页
Microcomputer Development