一种改进型多线程机制在数据采集系统中的应用  被引量:8

Application of an Improved Multithreading Mechanism in Data Acquisition System

在线阅读下载全文

作  者:王嘉[1] 范蟠果[1] 毛恒 WANG Jia;FAN Pan-guo;MAO Heng(Northwestern Polytechnical University,Xi'an,Shaanxi 710072,China)

机构地区:[1]西北工业大学自动化学院

出  处:《计算技术与自动化》2019年第4期37-41,共5页Computing Technology and Automation

摘  要:为缓解数据采集实时性要求较高和数据处理延时较大之间的矛盾,研究了LabWindows/CVI软件开发环境下的多线程机制和相关的数据保护机制。并对传统数据采集多线程机制进行改进,除了为数据采集任务创建线程外,单独为每一路数据通道创建独立的线程用以处理该通道数据。实验结果表明:改进后的多线程机制更加适合数据处理耗时较长、数据通道多、实时性要求严格的系统,能显著提高系统实时性和软件运行效率。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.

关 键 词:LABWINDOWS/CVI 多线程 数据采集 数据通道 

分 类 号:TP29[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象