测控技术2011,Vol.30Issue(8):79-82,90,5.
LabWindows/CVI多线程技术在电负载系统中的应用
LabWindows/CVI Multi-Thread Technology in Electrical-Load System
谭秀萍 1吴晓辉 1范蟠果 2徐焯炬 2汤琼2
作者信息
- 1. 中国飞行试验研究院,陕西西安710089
- 2. 西北工业大学自动化学院,陕西西安710129
- 折叠
摘要
Abstract
Aimming at procedures for the electrical load system while multi-task executes at one time, the CPU has low utilization and may block other tasks, the LabWindows/CVI multi-threading technology is used to build two independent thread pool threads used for data acquisition and data processing. The multi-thread technology solves the program task blockage. CPU utilization and system reliability and stability are increased. Using the TSQ thread-safe queue to pass data between threads can solve the problem of data synchronization. Experiments show that the multi-threading can advance deadly accuracy of the system performance, and improve real-time and reliability in data acquisition.关键词
电负载/LabWindows/CVI/多线程/数据采集/线程安全队列Key words
electric load/ labwindows/CVI/ multi-thread/ data acquisition/ thread-safe queues分类
信息技术与安全科学引用本文复制引用
谭秀萍,吴晓辉,范蟠果,徐焯炬,汤琼..LabWindows/CVI多线程技术在电负载系统中的应用[J].测控技术,2011,30(8):79-82,90,5.