Distance-Learning Remote Laboratories using LabVIEW



Similar documents
LabVIEW Internet Toolkit User Guide

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

KViewCenter Software User Manual 2012 / 04 / 20 Version

Imaging License Server User Guide

Polycom Converged Management Application (CMA ) Desktop for Mac OS X. Help Book. Version 5.1.0

System Overview and Terms

Measurement Studio. Contents RELEASE NOTES

5. At the Windows Component panel, select the Internet Information Services (IIS) checkbox, and then hit Next.

NI InsightCM Server Version 1.0

LabVIEW Report Generation Toolkit for Microsoft Office

Remote Support. User Guide 7.23

Getting Started with the LabVIEW Mobile Module Version 2009

Kramer Electronics, Ltd. Site-CTRL and Web Access Online User Guide (Documentation Revision 2)

Installing Remote Desktop Connection

Network Probe User Guide

Accessing your Staff (N and O drive) files from off campus

CentreWare Internet Services Setup and User Guide. Version 2.0

You're reading an excerpt. Click here to read official APPLE REMOTE DESKTOP 1.2 user guide

Getting Started with the LabVIEW Mobile Module

LabVIEW DSP Test Integration Toolkit for TI DSP

DAQ Getting Started Guide

Interacting with Users

Moxa Device Manager 2.0 User s Guide

SMART Vantage. Installation guide

NETWORK PRINT MONITOR User Guide

Quick Start Guide FLIR Firmware Update Tool

Volume SYSLOG JUNCTION. User s Guide. User s Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

NI Real-Time Hypervisor for Windows

Version 1.0 January Xerox Phaser 3635MFP Extensible Interface Platform

2010 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

Internet Access to a DVR365

Technical Publications. Author: Zultys Technical Support Department

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

ivms-4500(windows Mobile) Mobile Client Software User Manual Version 1.0

Access to remote DVR from IE USER S MANUAL CONTENT

Using Internet or Windows Explorer to Upload Your Site

BarTender Print Portal. Web-based Software for Printing BarTender Documents WHITE PAPER

Virtual Owl. Guide for Windows. University Information Technology Services. Training, Outreach, Learning Technologies & Video Production

Using Adobe Acrobat College. How to Host a Meeting - User s Guide

Call Center - Agent Application User Manual

AUDIO l VIDEO END-USER GUIDE. Fernwood 3D12 Conference Room System New Touch Panel

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

Web Conferencing Version 8.3 Troubleshooting Guide

AUDIO l VIDEO END-USER GUIDE. Fernwood 3E02 Conference Room System New Touch Panel

ivms-4500 (Android) Mobile Client Software User Manual (V3.1)

Sentinel Protection Installer Version (Windows) ReadMe

Remote Monitoring and Control of the R&S FSV with a Web Browser

ANDROID GUEST GUIDE. Remote Support & Management PC Tablet - Smartphone. 1. An Introduction. Host module on your PC or device

RSM Web Gateway RSM Web Client INSTALLATION AND ADMINISTRATION GUIDE

Qsync Install Qsync utility Login the NAS The address is :8080 bfsteelinc.info:8080

E-Map Application CHAPTER. The E-Map Editor

Copyright 2012 Trend Micro Incorporated. All rights reserved.

TIBCO Spotfire Automation Services 6.5. User s Manual

ThinPoint Quick Start Guide

Network/Floating License Installation Instructions

Web Service for Observer. Installation Manual. Part No Revision A

INSTALLATION GUIDE ENTERPRISE DYNAMICS 9.0

Pearl Echo Installation Checklist

How To Remotely View Your Security Cameras Through An Ezwatch Pro Dvr/Camera Server On A Pc Or Ipod (For A Small Charge) On A Network (For An Extra $20) On Your Computer Or Ipo (For Free

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Setup Guide Revision A. WDS Connector

By the Citrix Publications Department. Citrix Systems, Inc.

Quick Start Guide. Installation and Setup

Installing Microsoft Exchange Integration for LifeSize Control

Please check for updates to make sure you install the most recent version of our software.

Administrators Help Manual

End User Guide The guide for /ftp account owner

Interactive Whiteboard Functionality Overview Choosing Pen Style Erasing / Modifying Writing Undo / Redo

Using Remote Web Workplace Version 1.01

EZblue BusinessServer The All - In - One Server For Your Home And Business

Remote Monitoring and Control of the R&S FSL with a Web Browser

How to Remotely View Security Cameras Using the Internet

Test Automation Integration with Test Management QAComplete

CX Series. Video Recording Server. Quick Start Guide CX784 / CX788 / CX7816. Version

TANDBERG MANAGEMENT SUITE 10.0

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Secure Web Appliance. Reverse Proxy

SysPatrol - Server Security Monitor

Fibe Internet Connection Hub Reference Guide

Imaging Computing Server User Guide

How To Set Up A Thermal Cycler With Veritilink Remote Management Software

How to Use Motion Detection in ACTi Cameras

IEI emerge and Milestone Systems Network Video Recorder. Setup and Integration Guide. Milestone Version 6.5 and emerge Version 3.

Quick Installation Guide

Virtual CD v10. Network Management Server Manual. H+H Software GmbH

Getting Started with Vision 6

Remote Control 5.4 Setup Guide

Virtual Private Server Manual

Student Home

Learning Remote Control Framework ADD-ON for LabVIEW

Unified Meeting 5 User guide for MAC

Enterprise Remote Control 5.6 Manual

idvr-pro Viewer Software for Mac User Manual ver 0.1

Using MioNet Senvid Inc. User Manual Version 1.07

Why Use ThinManager to Manage Thin Clients? White Paper. For more information, please visit:

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Transcription:

Distance-Learning Remote Laboratories using LabVIEW

Introduction Laboratories, which are found in all engineering and science programs, are an essential part of the education experience. Not only do laboratories demonstrate course concepts and ideas, but they also bring the course theory alive so students can see how unexpected events and natural phenomena affect real-world measurements and control algorithms. However, equipping a laboratory is a major expense and its maintenance can be difficult. Teaching assistants are required to set up the laboratory, instruct in the laboratory, and grade laboratory reports. These time-consuming and costly tasks result in relatively low laboratory equipment usage, especially considering that laboratories are available only when equipment and teaching assistants are both available. What if some of the basic laboratory experiments could be made available 24 hours a day, seven days a week? What if students could have access to experiments from their home or student dormitories? What if a professor wanted his students to take a closer look at a classroom demonstration? What if a professor wanted to make a research demonstration available to students and others at irregular times? What if a professor deriving a complex equation for some application wanted his students to try different sets of parameters to bring out the essence of the model? What if a professor wanted his students to see an electronic circuit in action, and even give them control of the operating parameters? What if a research team wanted to make their expensive research equipment available to others when they went home for the evening? All of these and many more exciting applications are now easily achievable with the new technology available with National Instruments LabVIEW Remote Panels. With this standard feature of LabVIEW, a user can quickly and effortlessly publish the front panel of a LabVIEW program for use in a standard Web browser. Once published, anyone on the Web with the proper permissions can access and control the experiment from the local server. If the LabVIEW program controls a real-world experiment, demonstration, calculation, etc., LabVIEW Remote Panels turns the application into a remote laboratory with no additional programming or development time. 2 ni.com

Distance-Learning Remote Laboratories A remote laboratory is defined as a computer-controlled laboratory that can be accessed and controlled externally over some communication medium. For this discussion, a remote laboratory is an experiment, demonstration, or process running locally on a LabVIEW platform but with the ability to be monitored and controlled over the Internet from within a Web browser. In the simplest case, the remote laboratory server can be an experiment connected to a computer through a standard interface (DAQ, GPIB, serial, parallel, etc.) and with the host computer connected to the Internet. The client can be any computer connected to the Internet running a simple browser. Once connected, the client will see the same front panel as the local host and also have the same program functionality. Figure 1. Internet Control of a Remote Laboratory Current Remote Laboratory Successes Apart from the new LabVIEW Remote Panels tool, National Instruments had previously developed tools to provide Internet-based measurement and automation solutions, and our technologies have been used extensively to create innovative remote laboratories very successfully. These laboratories on the cutting edge of remote laboratories highlight some of the vast possibilities achievable with the incorporation of National Instruments Internet technologies. National Instruments Corporation 3

Stanford University Cyberlab At Stanford University, students can log onto a remote optics laboratory to conduct an experiment to measure the physical properties of a laser diode. Cyberlab provides not only monitoring and control features, but also a laboratory scheduler, reference library and analysis tools. The NI LabVIEW Internet Toolkit is used to create CGI scripts for communication and control between the remote browser and the host server. The live embedded images are provided using NI-IMAQ software tools and a NI PCI-1408 image acquisition board. Figure 2. Stanford University Cyberlab 4 ni.com

Swiss Federal Institute of Technology Lecture Enhancement At the Swiss Federal Institute of Technology, mechanical engineering students and others can watch in the classroom as the professor uses his laptop computer as a client to control a remote mechanical system. At other times, students take control from home to study the classroom demonstration in detail. Control within LabVIEW is provided by Call-By-Reference of sub-vis. Visual feedback is provided with video conferencing software. Both the video and LabVIEW servers run in parallel, independent of the local host computer. Figure 3. Swiss Federal Institute of Technology Lecture Enhancement National Instruments Corporation 5

Dalhousie University Virtual Laser Laboratory At Dalhousie University, engineering and science students can log onto the Virtual Laser Laboratory 24 hours a day, seven days a week and conduct up to 10 laser experiments. There are four lasers, three stepping motors, two DC motors, numerous measuring points and three video cameras. One computer controls all of the instruments and experiments on a 4 by 8 ft. optics table. A second computer controls the pan, tilt, and zoom of the main camera and provides JPG images of the table action. A third computer integrates all the images and control parameters to produce the exported pages. Each of the experiments has a unique presentation and set of control buttons. At login, a Java script is downloaded to the remote browser that interprets all the CGI commands sent over the network and provides interactivity through the browser. Figure 4. Dalhousie University Virtual Laser Laboratory The National Instruments Solution LabVIEW Remote Panels In all the previous successes of remote laboratories, LabVIEW was used but extensive programming of Java, CGI, or other third-party software tools was required to bring local laboratory functionality to a browser environment. Now, with LabVIEW Remote Panels, remote execution is just a couple of clicks away. Without any additional programming, a LabVIEW program can be enabled for remote control through a common Web browser. With this new technology, the user simply points the Web browser to the Web page associated with the application. Then, the user interface for the application shows up in the Web browser and is fully accessible by the remote user. Figure 5. LabVIEW Remote Panels 6 ni.com

The acquisition is still occurring on the host computer, but the remote user has total control and identical application functionality. Other users can also point their Web browser to the same URL to monitor the application in progress. To reduce confusion, only one client can control the application at a time, but the client can pass control easily among the various clients at run-time. At any time during this process, the operator of the host machine can assume control of the application back from the client currently in control. Enabling Remote Panels Transforming your application into a distance-learning remote laboratory has never been easier. Enabling the Remote Panels feature of LabVIEW is a very simple process that walks the user through the creation of a Web page that automatically embeds the appropriate LabVIEW application into the new Web Page. To transform your application into a remote laboratory, make sure the VI that you want to publish is loaded into LabVIEW memory. Next, select the Web Publishing Tool option from the Tools menu. This window is the main window for interactively creating and publishing your remote laboratory. Figure 6. Enabling Remote Panels The Web publishing tool will automatically load in the Document Title and VINametext fields. As the sample image in Figure 6 illustrates, the Document Title, Text1, andtext 2 are all text fields that you can use to customize the Web page created with the publishing tool. The second step necessary to enable a remote laboratory is to select the Start Web Server button. When pressed, this button activates the built-in LabVIEW Web server, which will publish and control your front panel images from the Internet. National Instruments Corporation 7

Once the Web server is activated, the actual HTML document needs to be created and saved so it can be accessed remotely. Clicking on Save to Disk places an HTML file called Document Title.htm into the LabVIEW file folder called WWW by default. Saving your Remote Panels HTML documents into this folder will ensure that the LabVIEW Web server can find them. Either keep the default name, or assign a new name and save the file. Once saved, a new panel entitled Document URL pops up with a message box containing the URL address of your enabled LabVIEW application. Figure 7. Document URL Click on OK in the Document URL window and then click on Done in the Web Publishing Tool window. Your lab is now ready for remote visitors. Client Operation Required Software To operate a LabVIEW program using remote panels, it is necessary to have the free LabVIEW run-time engine installed on the client computer. When a remote viewer logs onto the lab with the appropriate URL address, the LabVIEW front panel will appear in the browser, or reroute the user to install the run-time engine from the National Instruments Web site. Application Control Releasing Control Once connected to the remote laboratory, the client connection will automatically be in a monitor state. If another client is controlling the remote laboratory, the user will be able to monitor the actions of the controlling client. To request control of the program, right click on the front panel and select Request Control. Once selected, one of two possible messages will appear. Either the user will be granted control (Control Granted), or the user will see a message indicating that control is currently granted to another user (Waiting for control: Either the server is locked or another client has control). If another client has control, the controlling client will be notified that control time has now become limited. Once the time-out occurs or the controlling client has released control, application control is automatically switched to the requesting client (Control Granted). Once the user has been granted control, all icons and controls will become active and running the LabVIEW application is exactly like running the application from the local environment. When the remote viewer either moves on to a different URL address or relinquishes control by right clicking and selecting (Release Control), or when the remote laboratory times out, the remote laboratory is available to the next visitor. 8 ni.com

Application Administration National Instruments LabVIEW 6.1 Remote Panels comes with all the administrative tools necessary for a complete remote laboratory solution. A variety of tools are available for monitoring and logging of network traffic, Remote Panels license management, configuration of remotely accessible VIs, and configuration of Remote Panel control time limits. Remote Panel Connection Manager The first tool used to administer Remote Panels is the Remote Panel Connection Manager. With this tool, you can manage client traffic to a specific front panel. This window logs all network traffic and displays a graph with network throughput for all visible VIs and specific VIs. The Connection Manager also gives you the ability to disconnect a specific client with the touch of a button. Figure 8. Remote Panel Connection Manager National Instruments Corporation 9

The NI License Information window, which can be accessed from the Remote Panel Connection Manager, displays a list of clients that were denied access to the server because the maximum number of clients for the license was exceeded. It displays the time, date, computer name, and IP address of every connection denied by the LabVIEW Web Server. This window also has a button to access the NI License Manager. NI License Manager Figure 9. NI License Information With the NI License Manager tool, you can upgrade the number of clients that can view and control a LabVIEW front panel. By default, LabVIEW includes a Remote Panel license that allows one client to view and control a front panel. If a more extensive license for multiple connections has been purchased, the NI License Manager is the tool necessary for installing and configuring this new license. With NI License Manager, you can also check the status of the LabVIEW License Server. This License Server must be running for multiple clients to view your Remote Panel and is active by default. Figure 10. NI License Manager 10 ni.com

Web Server: Configuration Anothervery importantadministrativetoolistheweb Server: Configuration tool located within the Tools: Options menu in LabVIEW. You can use this tool to enable or disable the LabVIEW Web Server, specify the port to use for HTTP (default 80), enable or disable the log file, set the Web Server time-out (default 60 s), and even specify the LabVIEW Web Server root directory. Web Server: Visible VIs Figure 11. Web Server: Configuration The last administration tool necessary for a complete remote laboratory solution is the Web Server: Visible VIs tool, which is accessed from the Tools: Options menu in LabVIEW. With this tool, you can specify which VIs are visible for remote viewing and what the Control Time Limit should be for each VI. The Control Time Limit (default 300 s) is the time a client can continue viewing a remote VI after another client requests access. Figure 12. Web Server: Visible VIs National Instruments Corporation 11

Application Security National Instruments LabVIEW Remote Panels has a very simple and powerful security tool. The Web Server: Browser Access tool, which is located within the Tools: Options menu in LabVIEW, can configure browser access to one of the following three options: Allow Viewing and Controlling Allow Viewing Deny Access These three options can be applied to a specific computer name or IP address thus providing substantial security enhancements to your remote laboratory. Figure 13. Web Server: Browser Access Because LabVIEW is running your remote laboratory, you could easily create and implement a higher lever security database application for your remote laboratory. A VI could easily be created and implemented to prompt the student for a user name and password. That VI could look up access times in a database and determine whether to allow the student access to the remote laboratory. This example shows what is possible using LabVIEW and Remote Panels to create your remote laboratory. Visual Feedback Considerations Visual feedback is an excellent way to enhance a remote laboratory and sometimes is a necessary requirement for a successful remote laboratory. Also, it has been proven that students learn better when presented with a visual model of a theoretical system. Therefore, you may wish to include some sort of visual feedback with your remote laboratory. A visual feedback system can vary greatly in performance, complexity, and price. At the bare minimum, you will need a camera to capture images and some sort of software application to publish the images. For most applications, a simple Web camera and image capturing and publishing software will suffice. 12 ni.com

Implementation The three main parameters to consider when selecting a camera are image quality, color depth (black and white, 16 colors, 256 colors, etc.), and frame update rate. The image quality is measured in pixels where the number of pixels is defined as the product of the horizontal and vertical pixel number. For example an image size of 320 x 240, about 4 x 3 inches on a conventional monitor, contains 77,600 pixels. An image this size can take anywhere from a fraction of a second to several seconds to update over the Web. The larger the image size, the more detailed the picture published from your remote laboratory site, but the slower the update rate. Using black and white images can significantly increase your transfer rates over the same image using 16.4 million colors because the file size is so much smaller. However, color is sometimes a necessary part of the remote laboratory and cannot be sacrificed. Frame update rates are typically limited by the Internet connection, but a reasonable sustainable frame rate to anticipate is about 1 frame/s for a remote client with a dialup connection to the Internet. Visual Feedback can be added to a remote laboratory in many different ways. You can choose to embed the live images into the actual VI front panel, place the picture on the Web page created by LabVIEW, or use a separate Web page to display the picture. Perhaps the simplest solution is to use a USB webcam to broadcast a picture to a remote third-party image-hosting location and access that picture through a separate browser window. However, this solution would depend on the remote image-hosting site for connection speeds, and the picture would not appear in the same window as the LabVIEW program. Moreover, image-hosting sites typically enforce their own limitations on the number of people that can simultaneously view live webcam images. A more elegant solution would be embedding the live images into the LabVIEW front panel. In this solution, your computer would be the image-hosting server and you would not rely on a third-party Website for image publication. With this solution, you can view the LabVIEW front panel and the live webcam images through one browser window. However, embedding the image into your actual LabVIEW program could slow down the program execution significantly. The last option is to modify the Web page created by the LabVIEW Web publishing tool to include the live webcam images. There are several low-cost software packages available for implementing your computer as the image host and creating the code necessary to add the live images to the existing LabVIEW-created HTML code. This solution will create a single Web page with the LabVIEW program and the picture side by side in a table of some sort. This solution also separates the LabVIEW program execution and the live image update rates. This is perhaps the best solution for a balance of speed, ease of implementation, and presentation appeal. National Instruments Corporation 13

Summary Distance-learning remote laboratories are used extensively in Academia to enhance classroom lectures, share research equipment, and supplement the learning process. Typical laboratories have relatively low usage, and remote laboratories can eliminate some of the barriers found in traditional laboratories. Remote laboratories can remove the need to have a teaching assistant on hand, reduce the cost associated with a traditional laboratory, and can also be made available 24 hours a day, seven days a week. LabVIEW now has a revolutionary new technology that makes the creation, implementation, and administration of a remote laboratory very simple. Remote Panels can take a LabVIEW program and transform it into a remote laboratory with a few simple mouse clicks. There is no longer any need for additional programming to enable your laboratory for the Web, and the control of the LabVIEW remote laboratory is exactly the same as it would be on the local server. LabVIEW also contains all the necessary administration and security tools to create a complete LabVIEW-based distance-learning remote laboratory solution. *342238A-01* 342238A-01 Feb02 11500 North Mopac Expressway Austin, TX 78759-3504 USA Tel: (512) 683-0100 Fax: (512) 794-8411 E-mail: info@ni.com 2002 National Instruments Corporation. All rights reserved. LabVIEW, National Instruments, and ni.com are trademarks of National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your CD, or ni.com/patents.