摘要
针对雷达模拟训练系统中监控评估软件存在CPU资源浪费,响应时间长,软件运行易出现死循环的问题,提出了运用LabWindows/CVI开发监控评估软件的思路。该软件采用多线程处理问题的思想,主线程响应用户界面,而使用辅助线程来运行数据采集程序和数据的输入输出,这一方法可以提高程序运行速度。
It is mentioned the idea of developing monitor evaluation software with LabWindows/CVI, which solves the problems of the CPU resource waste, long response time and endless dead loop in software running. The software adopts multl-thread to deal with problems. It uses main thread to response customer interface processing. And it uses secondary thread to deal with data acquiring and input and output of the data. This method can accelerate the running of the program.
出处
《仪表技术》
2008年第11期71-73,76,共4页
Instrumentation Technology
关键词
多线程
主要线程
辅助线程
multi-thread
main thread
secondary thread