检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中北大学电子测试技术国家重点实验室,山西太原030051 [2]中北大学信息探测与处理技术研究所,山西太原030051
出 处:《现代电子技术》2009年第5期28-30,33,共4页Modern Electronics Technique
基 金:国家自然科学基金资助项目(60602041)
摘 要:GPS导航系统需要实时获取来自接收机串口的定位数据,在对串口实时监控的同时还可以在前台进行一些其他的操作,利用基于多线程的串口通信编程思想方法可以很好地解决这一问题。介绍多线程的基本概念和串口通信编程技术,分析了GPS导航系统的功能和需求,着重阐述了采用基于多线程的CSerialPort类的串口通信方法来获取定位数据,并且给出了CSerialPort类的使用方法。经过调试,程序运行平稳。The GPS navigation system needs not only gaining real - time orientation data from the receiver serial port but also operating other somethings, the way that based on the multi - thread and the serial communication programming technology theory can solve this question. The multi - thread basic concept and the serial port communication programming technology are introduced, and the GPS navigation system's function and the requirement are analysed, real - time orientation data by using CSerialPort class based on the multi- thread,and the application method of CSerialPort class are given. After the debugging, the program runs steady.
关 键 词:多线程 串口通信 CSerialPort GPS导航
分 类 号:TP399[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.188