摘要
主要介绍二维漏磁检测系统监控软件设计。先对漏磁检测原理、二维漏磁检测系统的组成结构、数据采集卡MCC-USB201配置进行了介绍,然后根据软件设计需求和Windows程序设计特点,提出了基于UI线程和工作者线程的多线程的软件设计思路,UI线程主要进行数据图形化显示、保存和用户交互。工作者线程主要完成钢管测速、数据采集处理,并采用消息机制将相关数据发送给UI线程。给出了软件设计中所涉及的类和工作者线程中数据采集与处理的主要流程。测试结果表明,所介绍的二维漏磁检测监控软件满足实时检测需要。
This paper mainly introduces the monitor software devising of the two-dimension magnetic flux leakage detecting system.The Fundamentals of the magnetic flux leakage detection,the block diagram of the two-dimension magnetic flux leakage detection system and the configuration of the data acquisition card of the MCC-USB201 are illustrated.Based on the requirement of the software devise and the character of the windows programs,the mentality of designing of the multithreading with UI-threading and work-threading is presented in this paper.
出处
《工业控制计算机》
2018年第8期28-29,共2页
Industrial Control Computer
关键词
监控软件
钢管
漏磁检测
多线程
monitor software
Steel Tube
magnetic flux Leakage detection
multi-threading