0% found this document useful (0 votes)
113 views

LabVIEW Via Mobile and Web Browsing

This document discusses several options for remotely viewing LabVIEW applications from mobile devices and web browsers. The options include using remote desktop applications to view the desktop of a host PC running LabVIEW, turning VIs into websites that can be interacted with remotely through a LabVIEW runtime, building web services with LabVIEW, and sharing data between applications using shared variables. It also covers some of the underlying web technologies like HTML, JavaScript, and AJAX that can be used to build remote front panels and web applications for accessing LabVIEW data and functions. Examples are provided of mobile apps for data acquisition and dashboards that have been created using these approaches.

Uploaded by

Vu Duc Truong
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views

LabVIEW Via Mobile and Web Browsing

This document discusses several options for remotely viewing LabVIEW applications from mobile devices and web browsers. The options include using remote desktop applications to view the desktop of a host PC running LabVIEW, turning VIs into websites that can be interacted with remotely through a LabVIEW runtime, building web services with LabVIEW, and sharing data between applications using shared variables. It also covers some of the underlying web technologies like HTML, JavaScript, and AJAX that can be used to build remote front panels and web applications for accessing LabVIEW data and functions. Examples are provided of mobile apps for data acquisition and dashboards that have been created using these approaches.

Uploaded by

Vu Duc Truong
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

LabVIEW via Mobile and Web Browsing

Charlie Moore 3/6/12 DFW UGM

Goals For Meeting


Go Through Options for Viewing LabVIEW Applications Remotely Understand a Bit of Underlying Technologies Have Fun

LabVIEW GUI (Front Panel)


This Was Big! in the 1990s It still is great It is built on system dependent user interface objects

Option 1 - Remote Desktop


Mobile Device Host PC

Web

App installed to remotely view screen

Service installed to allow remote connections

Remote Desktop Services: VNC, RDP, LogMeIn, Jump Desktop, TeamViewer, Screens, Splashtop, and more.

Option 2 Remote Front Panels


Turn your VI into a website. Only remote PC with LV RTE can interact.

Web Technologies HTML


Hyper Text Markup Language Originally - defined a uniform way to load text in a GUI. Core Technology for which websites were originally built and sadly still are!

Web Technologies HTML


Core Images Frames Forms Tags

Web Technologies HTML


Duct-Taped-In CSS Scripting Flash Video Silverlight LabVIEW RTE PHP

Web Technologies HTML 5


Core Images Frames Forms Tags Audio + Video Canvas Vector Graphics Mobile Features - CSS

Building the App Web Apps


HTML basic page layout JavaScript HTTP request and XML parsing

AJAX plotting with open source API called flot

Option 3 Web Services


Standard Web technology IT wont have any issues Tutorial: Building and Accessing a LabVIEW Web Service Application (ETS, VxWorks, Windows)
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/

Option 4 Shared Variables


Non-Standard but very easy!

Building the App Web or Native?


Web
+ Runs inside the devices browser HTML & JavaScript from server Cannot access contacts, calendar, camera, etc. Multiplatform

Native
+ Runs as an app on the device Written in native tools and can use OS frameworks Can access device data and hardware features Single platform

Data Dashboard
iPhone, iPad Android

Web UI Builder
http://www.ni.com/uibuilder/

Data Acquisition with iOS & Android


NI cDAQ-9191 Support for iOS & Android Now Available on NI.com/Labs
AVAILABLE IN MARCH 2012

NI cDAQ-9191 Data Display

NI cDAQ-9191

Requirements: Firmware upgrade (available on ni.com/labs) Supported Modules: NI 9215 (Voltage, 4-ch, 100kS/s/ch)

Or build your own

Custom Applications

Join the Community


Download example code Collaborate with other mobile/LabVIEW developers Tell us about your applications Submit ideas and feature requests

ni.com/smartphone

You might also like