{"title":"Matlab virtual laboratory for Moodle based on .NET technology","authors":"P. Bisták","doi":"10.1109/ICETA.2015.7558497","DOIUrl":null,"url":null,"abstract":"Virtual laboratories has become a standard part of education and research. Although nowadays there exist many examples how to build them it is still advantageous to create new solutions that are universal, more flexible and comfortable to use. This paper describes the design of a new application developed for the purpose of virtual laboratories. It is based on the Microsoft .NET technology and Matlab/Simulink platform. In comparison with older versions the new one uses new progressive methods of .NET technology and REST architecture for communication. This allows simplification of its construction, easy modification according to new requirements as well as a simple creation of client applications. Moreover the designed application is integrated with Moodle e-learning system environment that enables comfortable access for its registered users. The new virtual laboratory application facilities will be demonstrated on several dynamical systems. The architecture of the designed solution consists of three main components: server, Moodle and browser (Fig. 1). The server includes Matlab COM Automation server that enables to run the Matlab application and exchange data with it using COM technology. Further the server communicates with Moodle using ASP.NET Web API framework. The server is written in C# programming language. Moodle (in the role of a client) communicates with the server using GET and POST methods and it also communicates with a browser as a backend using JSON objects. Moodle uses PHP scripts to generate dynamical Web pages. Finally the browser interprets the Web pages consisting of HTML code and asynchronous JavaSript language with JQuery library. The resulting Web application for the virtual laboratory provides users with description of dynamical models, displaying corresponding block diagrams, setting parameters, performing simulations, displaying numerical results, showing graphs, animations and video of dynamical systems responses.","PeriodicalId":222363,"journal":{"name":"2015 13th International Conference on Emerging eLearning Technologies and Applications (ICETA)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 13th International Conference on Emerging eLearning Technologies and Applications (ICETA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICETA.2015.7558497","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Virtual laboratories has become a standard part of education and research. Although nowadays there exist many examples how to build them it is still advantageous to create new solutions that are universal, more flexible and comfortable to use. This paper describes the design of a new application developed for the purpose of virtual laboratories. It is based on the Microsoft .NET technology and Matlab/Simulink platform. In comparison with older versions the new one uses new progressive methods of .NET technology and REST architecture for communication. This allows simplification of its construction, easy modification according to new requirements as well as a simple creation of client applications. Moreover the designed application is integrated with Moodle e-learning system environment that enables comfortable access for its registered users. The new virtual laboratory application facilities will be demonstrated on several dynamical systems. The architecture of the designed solution consists of three main components: server, Moodle and browser (Fig. 1). The server includes Matlab COM Automation server that enables to run the Matlab application and exchange data with it using COM technology. Further the server communicates with Moodle using ASP.NET Web API framework. The server is written in C# programming language. Moodle (in the role of a client) communicates with the server using GET and POST methods and it also communicates with a browser as a backend using JSON objects. Moodle uses PHP scripts to generate dynamical Web pages. Finally the browser interprets the Web pages consisting of HTML code and asynchronous JavaSript language with JQuery library. The resulting Web application for the virtual laboratory provides users with description of dynamical models, displaying corresponding block diagrams, setting parameters, performing simulations, displaying numerical results, showing graphs, animations and video of dynamical systems responses.
虚拟实验室已经成为教育和研究的标准组成部分。虽然现在有很多例子如何构建它们,但创建通用的、更灵活和更舒适的新解决方案仍然是有利的。本文介绍了一个以虚拟实验室为目的开发的新应用程序的设计。它是基于Microsoft . net技术和Matlab/Simulink平台开发的。与旧版本相比,新版本使用了。net技术和REST架构的新进步方法进行通信。这允许简化其构造,根据新的需求轻松修改,以及简单地创建客户端应用程序。此外,所设计的应用程序与Moodle电子学习系统环境集成,使其注册用户能够舒适地访问。新的虚拟实验室应用设施将在几个动力系统上进行演示。所设计的解决方案的架构由三个主要组件组成:服务器、Moodle和浏览器(图1)。服务器包括Matlab COM Automation服务器,该服务器能够运行Matlab应用程序并使用COM技术与其交换数据。此外,服务器使用ASP与Moodle通信。. NET Web API框架。服务器端采用c#编程语言编写。Moodle(在客户端角色中)使用GET和POST方法与服务器通信,它还使用JSON对象作为后端与浏览器通信。Moodle使用PHP脚本生成动态Web页面。最后,浏览器通过JQuery库对HTML代码和异步javascript语言组成的网页进行解析。由此产生的虚拟实验室Web应用程序为用户提供了动态模型的描述、显示相应的框图、设置参数、执行仿真、显示数值结果、显示动态系统响应的图形、动画和视频。