一种改进型多线程机制在数据采集系统中的应用
    点此下载全文
引用本文:王嘉,范蟠果,毛恒.一种改进型多线程机制在数据采集系统中的应用[J].计算技术与自动化,2019,(4):37-41
摘要点击次数: 47
全文下载次数: 0
作者单位
王嘉,范蟠果,毛恒 (西北工业大学 自动化学院陕西 西安710072) 
中文摘要:为缓解数据采集实时性要求较高和数据处理延时较大之间的矛盾,研究了LabWindows/CVI软件开发环境下的多线程机制和相关的数据保护机制。并对传统数据采集多线程机制进行改进,除了为数据采集任务创建线程外,单独为每一路数据通道创建独立的线程用以处理该通道数据。实验结果表明:改进后的多线程机制更加适合数据处理耗时较长、数据通道多、实时性要求严格的系统,能显著提高系统实时性和软件运行效率。
中文关键词:LabWindows/CVI  多线程  数据采集  数据通道
 
Application of an Improved Multithreading Mechanismin Data Acquisition System
Abstract:In order to alleviate the contradiction between high real-time requirement of data acquisition and large data processing delay,the multithreading mechanism and related data protection mechanism in LabWindows/CVI environment are studied. For the purpose of improvement,in addition to creating threads for data acquisition tasks,separate threads are created for each data channel to process the channel data. The experimental results show that the improved multi-threading mechanism is more suitable for systems with long data processing time,multiple data channels and strict real-time requirements,and can significantly improve the real-time performance of the system and the efficiency of software operation.
keywords:LabWindows/CVI  multi-threading  data acquisition  data channel
查看全文   查看/发表评论   下载pdf阅读器