摘要
随着测控系统中待测参量和控制单元数量的不断扩大,以往在Windows环境下依托单个线程执行多路测试和控制任务的机制已经远远不能达到系统要求。而多线程技术能够较好地执行并行性任务和提高控制系统性能,在软件中方便、快捷、可靠的解决多线程数据采集显得尤为重要。结合装载机性能检测系统软件,着重介绍了在专用测控软件开发平台LabWindows/CVI下通过多线程技术实现多路数据采集的方法。结果表明利用多线程技术开发的系统中对串口进行通讯所产生的阻塞状况有显著的改善。
With the sustained increase of amount of parameters and control units in the measure and control system,the mechanism depending on monolayer which is used in the past to carry out multi-thread test and control tasks could not meet the system requirements in Windows environments.While multi-thread technology could be used to control paralleled tasks and improve performances of control system,so it is important to solve multi-thread data acquisition conveniently,quickly and reliably in the control system.In combination with the performance test software of shovel loader,the multi-thread data acquisition methods based on LabWindows/CVI were introduced.The results showed that the blockage situation induced by serial communication has been improved remarkably in the system developed based on multi-thread technology.
出处
《北京石油化工学院学报》
2011年第1期42-45,共4页
Journal of Beijing Institute of Petrochemical Technology
基金
2010年北京市级本科生科学研究资助项目
项目号:2010J00082
北京石油化工学院教学改革项目资助
项目号:YB200807