一种基于生产者-消费者设计模式的综合测试系统  被引量:3

A comprehensive test system based on producer consumer design pattern

在线阅读下载全文

作  者:张亮 安娜 毛剑琳[1] ZHANG Liang;AN Na;MAO Jianlin(Kunming University of Science and Technology,Kunming Yunnan 650500,China;Kunming Institute of Precision Machinery,Kunming Yunnan 650032,China)

机构地区:[1]昆明理工大学信息工程与自动化学院,昆明650500 [2]昆明精密机械研究所,昆明650032

出  处:《自动化与仪器仪表》2021年第4期71-73,81,共4页Automation & Instrumentation

基  金:云南省重点研发计划项目“工业机器人关键技术研究及其在智能制造中的应用示范”课题(202002AC080001)。

摘  要:由于在批量生产过程中,生产状态、人为操作等因素可能导致仪器设备的缺陷,对仪器系统功能的测试成为仪器设备出厂前必不可少的一环。通常测试系统的数据采集和数据处理都是并行完成,而采用顺序设计方法并不适合处理并行事件带来的复杂时间逻辑问题,对此,在一种面向专用仪器的综合测试系统硬件结构基础上,采用了生产者-消费者模式设计综合测试系统的软件框架,有效管理了测试系统的内部逻辑,避免用户误操作和无效操作导致的混乱以及数据采集速率和处理速率不匹配的问题。最后,测试实例显示测试系统有效实现了用户的测试逻辑,满足现场测试需要,并能较好地提高系统测试效率。In the process of mass production,production status,human operation and other factors may lead to the defects of instruments and equipment,thus the function test of instrument system becomes an indispensable part before the equipment leaves the factory.Usually,the data acquisition and data processing of test system are completed in parallel,but the sequential design method is not suitable for dealing with the complex time logic problems caused by parallel events.Based on the hardware structure of a comprehensive test system for special instruments,this paper adopts the producer consumer mode to design the software framework of the comprehensive test system,which effectively manages the test system.The internal logic of the system can avoid the confusion caused by user’s mis-operation and invalid operation,as well as the mismatch between data acquisition rate and processing rate.Finally,the test example shows that the test system can effectively realize the user’s test logic,meet the needs of field test,and improve the system test efficiency.

关 键 词:LABVIEW 生产者-消费者设计模式 综合测试系统 

分 类 号:TP3O8[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象