摘要
本文主要讨论了在超声波系统软件中对于数据成像和实时采集的问题。超声波数据的实时采集是超声波焊缝检测的关键,而对超声波数据的成像也关系到焊缝缺陷的准确定位。在超声波实时采集的同时,进行波形成像是缺陷检测软件系统设计中的一个难点。本文采用了MFC类库,通过使用多线程技术和线程同步方法来进行超声波数据的实时采集和波形界面成像。通过使用多线程,整个超声波数据检测系统软件能够在流畅显示波形的同时,较为稳定的采集超声波数据,不会产生数据严重丢帧的现象,从而达到一定的检测性能。
The problem in waveform displaying and ultrasonic data collection of the ultrasonic software system is discussed in this paper. The ultrasonic data collection plays a significant role in detecting the weld defect; meanwhile the displaying of ultrasonic waveform is also important to the precision of defect location. It is difficult in the design of ultrasonic software system to display the waveform while collecting data in real time. In this paper, the technology of multithreading and synchronization with MFC library are used in collecting data and displaying waveform. With multithreading technology, the ultrasonic software system can stably collect large mass of data while smoothly displaying the waveform on the screen. Thus the system will seldom lose ultrasonic data frames and provide a better performance.
出处
《电子测量技术》
2007年第6期66-68,共3页
Electronic Measurement Technology
关键词
多线程
成像
实时采集
超声波
multithread
waveform display
real time data collection
ultrasonic