摘要
应用组件技术构建虚拟实验,采用UI-Model体系结构设计了描述实验环境、处理仪器间交互关系的实验平台;通过表达实验内容的实验算法组件将实验平台与虚拟仪器有机地结合,实现可设计性虚拟实验.实验平台通过算法接口选择不同的算法组件,完成不同实验内容的实验,实现了虚拟实验的扩充性和设计性.以测光速实验为例说明基于组件的可设计性虚拟实验的构建原理和实现方法.
A designable simulation experiment was constructed based on component technology.An experiment platform was designed based on UI-Model construction in which the experiment environment was described and the communication between instruments was established.The experiment platform is combined with instruments to realize virtual experimentation through the experiment algorithm component that describes experiment contents.Using different algorithm components through the program interface,the experiment platform can accomplish different experiments to realize designable and expandable experiments.The designing principles and programming technology of such a designable simulation system based on component technology are expounded through the experiment of "measuring the velocity of light".
基金
科技部科技型中小企业技术创新基金(04C26223400621)资助
关键词
虚拟实验
算法组件
虚拟仪器
光速测量
simulation experiment
algorithm component
virtual instrument
measuring velocity of light