{$cfg_webname}
主页 > 计算机 > C++ >

模拟实验测试平台的设计与开发

来源:wenku7.com  资料编号:WK72686 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK72686
以下是资料介绍,如需要完整的请充值下载。
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍


摘  要
  本文实现了模拟实验的虚拟测试平台,为实现模拟器件测试平台的功能,采用VC++可视化编程技术及DLL动态连接库的技术。具体实现的功能有:加载DLL库、对DLL库内的函数的调用、读取信息、画出器件图、对管脚施加信号、施加连续信号。其中加载DLL库时采用的是运行是动态加载;对DLL库中函数的调用是采用在基类中设置虚函数接口,再通过该类对象指针调用这类里的虚函数来实现对派生类中的函数的调用的思想来实现。该平台具有的这些功能能够满足不同器件的测试需要。文中还简略介绍了虚拟实验平台的现实意义、DLL库技术、VC++可视化编程环境以及编写模拟平台时所遇到的一些难点,其中DLL动态连接库的加载,DLL库中函数的导出比较难理解,其实现方法在本文也有所介绍。
 关键词:虚拟实验平台;DLL动态连接库;VC++可视化编程
  

The Design and Develop Of Virtual Experimental Testing Platform
Abstract
  This paper presents the simulation of virtual test platform, to achieve the functional of Analog Test Platform, the VC++ visual programming technology and DLL Dynamic Link Library Technology have been used. The concrete realization function includes: Loading the DLL , the right bank of DLL function call , Reading information , painted map devices, imposing signals to the pin, the infliction continuous signal . And  Loading DLL is used in the operation of dynamically loaded,DLL library of function calls is used in the base class function to set up virtual interface,then indicators such objects such Lane called the virtual function to achieve the right type of derivative function call to realize the idea. The function of the platform can meet the different needs of the test. The paper also gave a brief description of the significance of the virtual experimental platform, DLL library technology, VC++ Visual Programming Environment and some difficulties in the preparation of a simulation platform, the Loading of DLL Dynamic Link Library and DLL library function derived more difficult to understand, The methods of their realization in this paper has been introduced.
  Keywords: Virtual Experimental Platform ; DLL Dynamic Link Library ; VC++ Visual Programming  

本文成功地实现了用于模拟实验平台器件DLL功能测试的简单平台。本测试平台现在实现的功能包括:载入模拟器件DLL,检验DLL合法性,查找器件DLL中的导出函数,提供对器件各个管脚设置高低输入信号,显示器件的输出信息,显示器件内部结构,根据器件需要,可以向器件发送定时和鼠标操作事件。通过本测试平台,能对用于虚拟实验台的仿真DLL器件进行基本的功能检测,确认仿真实现的正确性。

推荐资料