虚拟仪器软件一般设计方法是针对特定的需求和确定的可用资源编写代码,代码与需求、资源之间存在着比较严格的对应性。但在一砦面向现场的应用中,需求和资源都不能完全确定,目前的软件设计方法很难在应用需求和可用资源不能完全确定的情况下完成软件编程。本文提出了一种面向现场应用的虚拟仪器设计方法,采用流程及流程组装达到代码与应用需求之间的宽适应性;资源与资源匹配实现现场设备的“即插即用”,解决了需求和资源不确定下的虚拟仪器设计问题。该方法在面向现场的应用中有较好的发展前景和实用价值。
The general method of virtual instrument software coding aims at given requirements and specified resources. There is strict relationship between the code and the requirements as well as resources. However, the requirements and resources could not be identified under some special application-oriented situation, and the current software design method is not applicable to such a situation so that it is very difficult to code. In this paper, we raise a design method for on-site application-oriented virtual instrument, introduce the process and process group to achieve the adaptability between code and application requirements. Using this method, resources and demands could be matched when needed to realize on-site equipment "plug and play", which solves the virtual instrument design problem in the circumstance of uncertainty. This method has very good prospect and practical value for the development of on-site application.