摘要
随着科学技术的进步,测量仪器技术逐渐向虚拟仪器技术方向发展,开发简单、通用、可拓展已成为虚拟仪器开发的重要指标.为了解决目前市面上虚拟仪器前面板开发软件不易于拓展、运行效率较低的问题,提出了一种通用虚拟仪器前面板的运行平台的实现方法,其主要原理是:界面组件化,前面板界面由组件组合而成,仪器组件以jar包形式存在,方便拓展,平台加载不同的仪器脚本,即可生成不同的虚拟仪器.提出了一种基于观察者模式的一对多的数据交换机制,方便组件间通讯,也可拓展与外部系统通讯.信号发生显示器的例子证明了该通用仪器前面板运行平台的可行性.
With the advancement of science and technology,measuring instrument technology is gradually developing towards virtual instrument technology.Simple,universal and expandable development has become an important indicator for virtual instrument development.In order to solve the problem that the virtual instrument development software on the market is not easy to expand and the operation efficiency is low,a method for realizing universal virtual instrument front panel running platform is proposed.The main principle is that the platform instrument component exists in the form of jar package,which is convenient for expansion and platform loading.Different instrument scripts can generate different virtual instruments,and a one-to-many observer-based data exchange mechanism is proposed to facilitate communication between components and facilitate communication between platform and hardware system.An example of a signal generation display demonstrates the feasibility of the universal operating platform.
作者
陈昌浩
李晓明
CHEN Chang-Hao;LI Xiao-Ming(Faculty of Mechanical Engineering and Automation,Zhejiang Sci-Tech University,Hangzhou 310018,China)
出处
《计算机系统应用》
2020年第2期76-82,共7页
Computer Systems & Applications
关键词
虚拟仪器
运行平台
组件
virtual instrument
operating platform
component