›› 2015, Vol. 28 ›› Issue (3): 19-.

• 论文 • 上一篇    下一篇

LabWindows/CVI多线程技术的应用

杨秋虎   

  1. (昆明船舶设备试验研究中心 第5研究室,云南 昆明 650051)
  • 出版日期:2015-03-15 发布日期:2015-03-12
  • 作者简介:杨秋虎(1985—),男,硕士,工程师。研究方向:嵌入式系统与虚拟仪器。E-mail:yangqiuhu@126.com

Application of Multi-threading Technology in LabWindows/CVI

YANG Qiuhu   

  1. (Fifth Research Laboratory,Kunming Shipbuilding Equipment Research Center,Kunming 650051,China)
  • Online:2015-03-15 Published:2015-03-12

摘要:

LabWindows/CVI多线程技术可保证并发任务的顺利执行。多线程技术解决了并发任务之间的冲突问题,能大幅提高工作效率。针对多个线程之间数据共享与传递,提供了良好的数据保护机制。文中对数据保护的机制与具体实现方法进行了阐述,结合多线程技术完成了仪器自动控制界面开发,试验证明,多线程技术的优势在并发任务系统中得到良好的体现。

关键词: 多线程, 并发任务, 数据保护

Abstract:

Multi-threading technology of LabWindows/CVI ensures the implementation of the concurrent tasks.The multi-threading technology resolves the conflicts between concurrent tasks and improves the work efficiency greatly.LabWindows/CVI provides more data protection mechanisms for data sharing and transfer.The mechanisms and its implementation methods are described in the paper.Multi-threading is used to design the automated instrument control interface.The experimental result shows that the multi-threading technology has a good application in the concurrent tasks system.

Key words: multi-threading;concurrent tasks;data protection

中图分类号: 

  • TP319