摘要
在虚拟仪器测量系统中,为提高测量软件的开发效率,方便仪器的测量和接口的扩充,本文提出了基于DSSA模型的软件复用的方法设计仪器的测量软件,以VISA动态链接库的形式实现PC机对仪器的控制和数据测量。在实验室先前研究的支持GPIB接口、串口函数库的基础上,针对仪器测量领域构建DSSA基础模型,重构构件实现了VISA动态链接库的扩充,使其增加了对以太网接口的支持。文章详细介绍了模型的设计、建立及构件重构的过程,并对所设计的动态链接库进行测试,验证了其对各接口仪器控制和测量的可行性和有效性。该测量VISA函数库具有接口扩展性强的优势,并提高了多接口的兼容性和软件开发效率,避免了资源浪费。
In the Virtual Instruments measurement system, DSSA model to design a measurement software of instrument the author presented a method of software reuse based on and to realize the control of instrument and measurement of data with VISA DLL library, aiming at improving the efficiency of software development and expansion of interfaces. By erecting the model, the newly designed VISA DLL library expanded Ethernet interfaces based on GPIB and RS-232 through reconstructing the component. In the paper, the details of model design and erection were given and the processes of the reconstruction were introduced; the newly designed VISA DLL library was tested and is of the validity and feasibility in the measurement. The advantages of the system are easy to extend; the compatibility of multi-interfaces and efficiency of software development are improved, avoiding the wasting of the resource.
出处
《电测与仪表》
北大核心
2009年第11期63-67,共5页
Electrical Measurement & Instrumentation