This document compares LabVIEW and MATLAB for use in developing remote laboratory server software. Both LabVIEW and MATLAB are powerful and rich platforms that support data exchange, standard APIs, and database connectivity. While LabVIEW excels at graphical programming and remote operation, MATLAB is stronger for control algorithm development and simulation. Hybrid approaches using both platforms can achieve high efficiency. LabVIEW supports integration with MATLAB through technologies like ActiveX, DLLs, COM, and MathScript modules.
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
2012 04-18 (educon2012) emadrid uned on design remote laboratories study lab server software technologies
1. On the Design of Remote Laboratories
A Study on the Lab Server Software Technologies
Mohamed Tawfik, Elio Sancristobal, Sergio Martin,
Rosario Gil, Gabriel Diaz, Juan Peire, Manuel Castro
Electrical and Computer Engineering Department
Spanish University for Distance Education (UNED)
2. Remote laboratories are those laboratories that can
be administrated and accessed online. They differs
from their virtual counterparts as they are dealing
with real physical equipment
3. This has yielded to a big interest in remote
laboratories design in order to enhance their
performance
5. The lab server software is installed in the lab server and it
is responsible for direct control of all lab equipment with
the respect to the orders received by the user.
6.
7. The common technologies used for lab server
software development are:
• LabVIEW
• MatLab
• from scratch by a high level programming
language e.g. c#, Java, C++, etc.
8. more than 50 add-ons of toolkits and
modules for LabVIEW
hundreds of add-on tools developed by third-
party partners
hundreds of ready-to-use example Vis
it integrates configurable Express VIs that
encompass the most common functions out
of more than 850 built-in signal processing,
analysis, and mathematics functions.
more than 8,000 program examples
submitted by fellow developers and NI
engineers
more than 9,000 free drivers for instruments
from more than 350 third-party vendors are
available online for free download
9. LabVIEW Web Services
Web Publishing Tools
Mobile Module
Database Connectivity Toolkit AppletVIEW Toolkit
OLE for Process Control (OPC) Servers
Accessing Shared Libraries or Dynamic Link
MathScript RT Module
Libraries (DLL)
FPGA Module
10. • LabVIEW applications can be integrated with Java Applets using AppletVIEW
Toolkit from Nacimiento Software Corporation.
• LabVIEW web services allows communication of LabVIEW applications from
devices that do not have LabVIEW.
• LabVIEW offers math-oriented textual programming through MathScript RT
module that provides a native compiler for .m files without requiring additional
third-party software [16].
11. used in a wide range of applications,
including signal and image processing,
communications, control design, test and
measurement, financial modeling and
analysis, and computational biology
Add-on toolboxes (collections of special-
purpose MATLAB functions) extend the
MATLAB environment to solve particular
classes of problems in these application
areas.
12. xPC Target Database Toolbox
Data Acquisition Toolbox
MATLAB Builder JA MATLAB Builder NE
Instrument Control Toolbox
13. • MATLAB Builder JA: enables the creation of Java classes from MATLAB
programs.
• Data Acquisition Toolbox: provides functions for MATLAB connection to a
variety of DAQ hardware, including USB, Peripheral Component Interconnect
(PCI), and PXI. The functions allow controlling analog input, analog output,
counter/timer, and digital I/O subsystems of a DAQ device .
• Database Toolbox: enables MATLAB to analyze information stored in
databases.
14. VS
Both possess rich and powerful features:
1) Data exchange with other GUI applications such as COM, ActiveX, CGI, Java and .Net
applications, and web services.
2) Support for standard Application Programming Interfaces (APIs) such as IVI, VISA, PXI,
GPIB, VXI, USB, LXI, and others.
3) Connection with ODBC or OLEDB compliance database; compilation as DLL files to be
called from the Lab server software as a driver to execute the experiments on the
hardware.
4) Support for OPC Servers to enable HMI and SCADA.
15. VS
• LabVIEW is the most popular remote laboratory environment and it is the most
outstanding representative of graphical programming language visualization and
parameter tuning for remote operation, while MATLAB is the most powerful
computing language for control algorithm development and simulation
• Full using of their advantages can achieve high efficiency programming. In numerous
remote laboratories applications, a hybrid method was adopted; the signal
acquisition and the GUI were developed with LabVIEW, while numerical calculation
and signal processing were developed with MATLAB.
16. VS
LabVIEW can support several ways of hybrid programming with MATLAB by means of:
• ActiveX automation technology
• DLL technology
• COM technology
• MathScript RT Module
Mathscript module allows
embedding .m file scripts in LabVIEW
applications by connecting the text-
based I/O variables with the inputs
and outputs of LabVIEW.
17. Thanks for your attention!
Mohamed Tawfik, Elio Sancristobal, Sergio Martin,
Rosario Gil, Gabriel Diaz, Juan Peire, Manuel Castro
Electrical and Computer Engineering Department
Spanish University for Distance Education (UNED)
Notes de l'éditeur
The common generic architecture design of today’s remote laboratory could be structured as shown.The user interface is a virtual end-user workbench that handles all the lab administration process. It is a web site that runs on the user’s web browser along with a Graphical User Interface (GUI), which is built by an animation technology embedded in the HTML code to resemble the real laboratory workbench. The website could be supplanted by a software application which is installed on the user-PC and connected to a database server (application server). The web server is a server-PC that hosts the web site and the database files. The web server sends the user requests to the lab server in the form of XML messages through TCP/IP model over HTTP layer. The lab server is a server-PC that hosts the instrumentation control software (lab server software) and it is connected directly to the instruments and the controller. The instrumentation control software sends commands to the controller regarding the received requests or the programmed code from the user. The instrumentation control software could be built from scratch with a multi-purpose programming language such as C# and C/C++, or with graphical programming environment such as LabVIEW and MATLAB/Simulink. Or else, it could be proprietary software that comes with the controller. The lab server software is connected to the controller and the instruments.There are several modular types of instrumentation platforms such as PXI,LXI,GPIB, and VXI. The controller is a programmable device that directly controls the experiment objects and they are suited for all types of applications. The typically used controllers in remote laboratories are: PLC, PLDs ; FPGA and CPLD, and Microcontrollers.
LabVIEW is an industrial leader graphical programming environment introduced by National Instruments (NI) [4] in 1986 for developing, testing, and controlling systems using intuitive graphical icons, known as Virtual Instruments (VIs), which imitate the physical instruments.
LabVIEW possesses rich and powerful features to ease laboratories construction. the most popular of these features are:In the paper, examples on the deployment of these features in remote labs applications are referenced.Web publishing tool: a built-in web server for publishing the web pages that allows controlling its front panel directly from a web browser.Mobile Module: for mobile remote labs applications FPGA Module: for FPGA remote labs applicationsDatabase Connectivity Toolkit: for connecting labview applications with databaseOLE for Process Control (OPC) Servers: for PLC and HMI applicationsAppletVIEW Toolkit: for controlling labview applications by GUI built in JavaMathScript RT Module:for integrating complex mathematical formulas.LabVIEW Web Services:for calling labview applications by any client interface using web servicesAccessing Shared Libraries or Dynamic Link Libraries (DLL): to access any driver or external code.
LabVIEW possesses rich and powerful features to ease laboratories construction. the most popular of these features are:In the paper, examples on the deployment of these features in remote labs applications are referenced.Web publishing tool: a built-in web server for publishing the web pages that allows controlling its front panel directly from a web browser.Mobile Module: for mobile remote labs applications FPGA Module: for FPGA remote labs applicationsDatabase Connectivity Toolkit: for connecting labview applications with databaseOLE for Process Control (OPC) Servers: for PLC and HMI applicationsAppletVIEW Toolkit: for controlling labview applications by GUI built in JavaMathScript RT Module:for integrating complex mathematical formulas.LabVIEW Web Services:for calling labview applications by any client interface using web servicesAccessing Shared Libraries or Dynamic Link Libraries (DLL): to access any driver or external code.
MATLAB , released by MathWorks, is a high-level technical computing language and interactive environment for high performance intensive numerical computation, algorithm development, data visualization, and data analysis.Simulink is fully integrated with MATLAB and provides an interactive graphical environment and a customizable set of block libraries that allows users to design, simulate, implement, and test a variety of time-varying systems, including communications, controls, signal processing, video processing, and image processing.
MatLab possesses rich and powerful features to ease laboratories construction. the most popular of these features are:In the paper, examples on the deployment of these features in remote labs applications are referenced.xPC Target: for FPGA applications Data Acquisition Toolbox: for data acquisition cardsDatabase Toolbox: for connecting matlab applications with databaseInstrument Control Toolbox: for connecting matlab application with several instrument platformsMATLAB Builder JA: for connecting it with Java applicationsMATLAB Builder NE: for connecting it with .Net applications
MatLab possesses rich and powerful features to ease laboratories construction. the most popular of these features are:In the paper, examples on the deployment of these features in remote labs applications are referenced.xPC Target: for FPGA applications Data Acquisition Toolbox: for data acquisition cardsDatabase Toolbox: for connecting matlab applications with databaseInstrument Control Toolbox: for connecting matlab application with several instrument platformsMATLAB Builder JA: for connecting it with Java applicationsMATLAB Builder NE: for connecting it with .Net applications