首页 | 本学科首页   官方微博 | 高级检索  
     

利用LabWindows/CVI多线程技术实现实时数据采集
引用本文:牛云鹏,王小鹏,房超,王超.利用LabWindows/CVI多线程技术实现实时数据采集[J].电子测试,2011(12):41-45.
作者姓名:牛云鹏  王小鹏  房超  王超
作者单位:兰州交通大学电子与信息工程学院,甘肃兰州,730070
摘    要:本文对LabWindows/CVI软件开发平台下利用多线程技术实现实时数据采集进行了研究。以往采用单一线程进行数据采集,存在数据溢出、数据更新速度较慢的问题。针对以上问题,本文利用LabWindows/CVI软件自带的多线程机制,采用将线程池和异步定时器相互结合的方法来实现实时数据采集线程和数据处理线程,重点讨论了异步...

关 键 词:LabWindows/CVI多线程数据采集  异步定时器  数据保护  实时性

Using LabWindows / CVI multithreading technology to achieve real-time data acquisition
Niu Yunpeng, Wang Xiaopeng, Fang Chao, Wang Chao.Using LabWindows / CVI multithreading technology to achieve real-time data acquisition[J].Electronic Test,2011(12):41-45.
Authors:Niu Yunpeng  Wang Xiaopeng  Fang Chao  Wang Chao
Affiliation:(Institute of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China)
Abstract:In this paper, LabWindows / CVI software development platform using multi-threading technology to achieve real-time data acquisition have been studied. Past a single thread of data collection, there is a data overflow and a data updates slow problem. To solve the above problems, In this paper, LabWindows / CVI software comes with multi-threading mechanism, using the thread pool and asynchronous timer combination of methods to achieve realtime data acquisition and data processing thread, This article focuses on the asynchronous timer operation mechanism and multi-threaded data protection methods. Finally, the method has been validated against test, The experimental results show that the method improves the data update rate, solves the problem of data overflow, and meets the requirements of real-time collection.
Keywords:LabWindows/CVI multi-threaded data collection  asynchronous timer  data protection  real-time
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号