摘要
超声波成孔质量检测设备在铁路、港口、高层建筑等的基桩完整性检测中起着重要的作用,然而高精度采样的大量数据难以快速、稳定的处理,往往会对软件后期数据处理产生极大的影响。针对这一问题,通过采用UDP通信协议以及采样线程独立化,保证了数据接收的快速性与完整性;通过采用多线程轮询机制与互斥锁机制,实现了对数据的多线程互斥收集与同步操作,并为后续数据的实时处理、实时存贮和实时显示等功能打下基础,进而实现了一种基于QT框架的软件数据采集系统。根据实际数据传输测试,该系统实现了4.5Mbps数据的采集与稳定传输。
The ultrasonic hole forming quality inspection equipment plays an important role in the integrity detection of foundation piles in railways,ports,high-rise buildings,etc.However,the large amount of data sampled with high precision is difficult to be processed quickly and stably,which often has a great impact on the data processing in the later stage of software.Aiming at this problem,the speed and integrity of data receiving are guaranteed by UDP communication protocol and independent sampling thread.By using multi-thread polling mechanism and mutex locking mechanism,multithread mutex collection and synchronization of data are realized,which lays a foundation for real-time processing,real-time storage and real-time display of follow-up data,and then realizes a software data acquisition system based on QT framework.According to the actual data transmission test,the system realizes the 4.5 mbps data acquisition and stable transmission.
作者
杨琪
瞿少成
李科林
秦天柱
许文俊
YANG Qi;QU Shaocheng;LI Kelin;QIN Tianzhu;XU Wenjun(School of Physical Science and Technology,Central China Normal University,Wuhan 430079)
出处
《计算机与数字工程》
2020年第7期1623-1627,共5页
Computer & Digital Engineering
基金
国家自然科学基金项目(编号:61673190)
中央高校探索创新项目(编号:CCNU18TS042)资助。
关键词
超声波成孔质量检测软件
QT
UDP通信
多线程轮询机制
ultrasonic hole forming quality detection software
QT
UDP communication
Multi-threaded polling mechanism