Você está na página 1de 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

Você também pode gostar