With the advancement of science and technology,the technology of test and measurement instruments has gradually developed towards the direction of virtual instrument technology.Simple,versatile and scalable development has become an important indicator of virtual instrument development.A modular and graphical instrument application software development platform is in the instrument system.The status is becoming more important.The instrument applications developed by the current modular instrument application software systems require supporting front.panel applications to use.Therefore,this topic proposes a modular and modular front.panel application software,which is designed and implemented with the help of Java language and SWT graphics package.A visual development platform for front panel applications,facilitating the development of front panel applications.The subject has conducted the following research on the visual programming method of front panel application:1)Overall plan design.On the basis of the existing instrument application development platform,this subject puts forward the concept of a modular instrument front panel development platform.After analyzing the development environment,software architecture,and choice of design mode,it uses Eclipse RCP framework for development.2)Modular standard design of front panel application software and communication mechanism design.In order to reuse code to the greatest extent and reduce development time,a modular instrument front panel component is proposed,and its interface and basic development classes are designed to facilitate component expansion.This paper proposes a constant pool global object data binding method based on observer mode,which not only facilitates the data transfer between front panel components,but also facilitates the expansion of communication access to external systems.3)Design and implementation of visual programming method applied on the front panel of the instrument.Aiming at the characteristics of the front panel components,an XML script custom tag is used to describe the application,and a UIRuntime operating platform is designed to parse the script to generate a front panel application interface.In order to simplify the development of the front panel application of modular instruments,the visual programming method of the front panel application software is researched.A visual development platform is proposed.Components can be combined using drag and drop,and the components can be edited by clicking on the components to quickly develop the front panel applications.4)The realization of communication between the instrument’s rear panel and front panel.In order to complete the operation of the general instrument software platform,the front and rear panel applications are two relatively independent systems.A rear panel component is designed to realize the data exchange between the front and rear panels.A data mapping method is proposed for dynamic data at both ends of the pipeline Specify.In order to simplify the configuration of data mapping,a visual data mapping view is designed so that the instrument application software platform can conveniently and quickly design virtual instrument application software with an instrument interface.The instrument front panel is an important part of the interaction between the virtual instrument application and the user.The combined front panel application software allows the instrument application interface to be freely combined with components for design.The visual front panel application development platform allows users to use the WYSWYG(WHAT YOU SEE WHAT YOU GET,WYSIWYG)method to combine and edit components intuitively to develop front panel applications,which improves the development efficiency of developers.The communication between the front and rear panel applications of the instrument enables the instrument application platform to quickly and easily develop complete instrument application software,including program logic and front panel interface.Finally,the signal generation display designed by the instrument application software platform verifies the feasibility of the instrument application development platform. |