期刊文献+

多线程技术在分时串口通信中的应用 被引量:8

Multi-thread Technology Application in Time-sharing Serial Communication
下载PDF
导出
摘要 在介绍Windows多线程技术及其编程思想的基础上,针对进行面向ITS车辆导航系统的研究时,需要用便携机实时接收多传感器(如里程计、数字罗盘、GPS等)的信息的实际需要,利用WindowsAPI函数实现了基于VC++6 0的分时串口通信,阐述了如何实现多线程技术。该技术采用PC机作为上位机,1对4单片机作为下位机,可使上位机分时地接收下位机发送过来的各个传感器的信息。通过跑车试验表明:应用了多线程技术的1对4单片机能快速、准确地完成数据采集任务。 The multi-thread technology and the programming idea in Windows were introduced.According to the practical demand that the experiment needs make portable computer receive the information from multi-sensors,such as speedometer,GPS and digital compass when making a research on the system of vehicle navigation based on ITS.Making use of the Windows API function implement the time-sharing serial communication based on VC++6.0 environment and thoroughly setting forth on how to carry out multi-thread programming.The multi-thread technology adopts PC as the master computer.The single chip of four in and one out was adopted as slave computer.It can make the master computer receive the message from every sensor sent by the single chip.From the experiment result of vehicle run experiment,the single chip applied the multi-thread technology can quickly and correctly finish the task of data collection.
出处 《仪表技术与传感器》 CSCD 北大核心 2004年第5期15-17,共3页 Instrument Technique and Sensor
关键词 多线程 分时串口通信 WINDOWSAPI 传感器 车辆导航系统 VC++6.0 Multi-thread Time-sharing Serial Communication VC++6.0 Windows API
  • 相关文献

参考文献3

  • 1Kruglinski D 潘爱民 等.Visual C++技术内幕[M].北京:清华大学出版社,1999..
  • 2白瑜.实用Windows 2000编辑[M].北京:国防工业出版社,2001..
  • 3KRUGLINSKI.Visual C+ +技术内幕[M].北京:电子工业出版社,1999..

共引文献14

同被引文献29

引证文献8

二级引证文献12

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部