[1]王鹏飞,王鹏.基于Visual C6.0的Windows应用程序定时器研究[J].计算机技术与发展,2013,(02):44-48.
 WANG Peng-fei,WANG Ping.Windows Platform Application Timer Research Based on Visual C++ 6. 0[J].,2013,(02):44-48.
点击复制

基于Visual C6.0的Windows应用程序定时器研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年02期
页码:
44-48
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Windows Platform Application Timer Research Based on Visual C++ 6. 0
文章编号:
1673-629X(2013)02-0044-05
作者:
王鹏飞王鹏
中国空空导弹研究院
Author(s):
WANG Peng-feiWANG Ping
关键词:
定时器精确定时Windows平台嵌入式系统
Keywords:
timerprecise timingwindows platformhigh precision
文献标志码:
A
摘要:
Visual C++6.0是Window平台下最为流行的编程工具之一.在测控系统中,PC机与各种嵌入式系统之间的接口控制也通常采用VC6.0完成.然而嵌入式系统通常对时序有较高的要求,Windows系统则并非实时操作系统.因此如何在VC6.0中实现各种不同精度的定时功能就成为许多面向嵌入式系统的VC6.0开发关键环节.文中研究和比较了VC6.0平台下各种定时器的用法和性能.根据试验结果,并针对某实际工程需要,采用时间戳计数器实现了一种微秒级定时器.通过测试,该定时器可以实现微秒级高精度定时,与某嵌入式系统平台配合良好,并通过了设备验收,证明了其设计有效性
Abstract:
Visual C++6. 0(VC 6. 0) is one of the most popular development environments for Windows platform. Therefore,most of in-terface control of measurement&control system between embedded system and PC were also developed via VC6. 0. However,since high-precision timing is often necessary for embedded system,and Window operation system (OS) isn't real-time OS. How to design timer to meet different embedded system requirement becomes a vital process for VC 6. 0 development. In this paper,all kinds of timer design strategies were introduced and presented,following with their comparison. Finally,according to one project demand,based on CPU time stamp counter technique,a microsecond-level timer was presented. Whole project has been validated,therefore this times strategy's effect was also proved

相似文献/References:

[1]包枫叶.嵌入式系统在多端口电缆气压采集器中的应用[J].计算机技术与发展,2007,(03):222.
 BAO Feng-ye.Application of the Embedded Cable Pressure System in Multi- Ports Collector[J].,2007,(02):222.
[2]周鹏 周明天.Linux内核中一种高精度定时器的设计与实现[J].计算机技术与发展,2006,(04):73.
 ZHOU Peng,ZHOU Ming-tian.Design and Implementation of a High- Resolution Timer in Linux Kernel[J].,2006,(02):73.
[3]谢婉君,贾濡. Linux内核移动性支持机制与实现[J].计算机技术与发展,2015,25(03):103.
 XIE Wan-jun,JIA Ru. Mechanism of Mobility Support in Linux Kernel and Its Implementation[J].,2015,25(02):103.
[4]杜志强,黄海于. 分布式仿真系统通信故障检测和恢复研究[J].计算机技术与发展,2015,25(11):172.
 DU Zhi-qiang,HUANG Hai-yu. Research on Communication Failure Detection and Recovery for Distributed Simulation System[J].,2015,25(02):172.

更新日期/Last Update: 1900-01-01