Top Banner

of 17

LabVIEW via Mobile and Web Browsing

Apr 14, 2018

Download

Documents

Vu Duc Truong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    1/17

    LabVIEW via Mobile and Web Browsing

    Charlie Moore

    3/6/12 DFW UGM

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    2/17

    Goals For Meeting

    Go Through Options for Viewing LabVIEW

    Applications Remotely

    Understand a Bit of Underlying Technologies

    Have Fun

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    3/17

    LabVIEW GUI (Front Panel)

    This Was Big! in the 1990s

    It still is great

    It is built on system

    dependent userinterface objects

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    4/17

    Option 1 - Remote Desktop

    Remote Desktop Services:

    VNC, RDP, LogMeIn, Jump Desktop,

    TeamViewer, Screens, Splashtop, and more.

    App installed to

    remotely view screen

    Mobile Device

    Service installed to allow

    remote connections

    Host PC

    Web

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    5/17

    Option 2 Remote Front Panels

    Turn your VI into a

    website.

    Only remote PC with LV

    RTE can interact.

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    6/17

    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!

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    7/17

    Web Technologies HTML

    Core

    Images

    Frames

    Forms

    Tags

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    8/17

    Web Technologies HTML

    Duct-Taped-In

    CSS

    Scripting Flash

    Video

    Silverlight LabVIEW RTE

    PHP

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    9/17

    Web Technologies HTML 5

    Core

    Images

    Frames

    Forms

    Tags

    Audio + Video

    Canvas

    Vector Graphics

    Mobile Features - CSS

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    10/17

    Building the App Web Apps

    HTML basic page layout

    JavaScript

    HTTP requestand XML parsing

    AJAX plotting with open

    source API calledflot

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    11/17

    Option 3 Web Services

    Standard Web technologyIT 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/

    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_web_service/
  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    12/17

    Option 4 Shared Variables

    Non-Standard but very easy!

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    13/17

    Building the App Web or Native?

    Web

    Native

    Runs inside the devices browser

    HTML & JavaScript from server

    Cannot access contacts, calendar, camera, etc.

    + Multiplatform

    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

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    14/17

    Data Dashboard

    iPhone, iPad

    Android

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    15/17

    Web UI Builder

    http://www.ni.com/uibuilder/

    http://www.ni.com/uibuilder/http://www.ni.com/uibuilder/
  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    16/17

    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

    Data Acquisition with iOS & AndroidNI cDAQ-9191 Support for iOS & Android Now Available on NI.com/Labs

    NI cDAQ-9191 Data DisplayAVAILABLE IN

    MARCH 2012

  • 7/29/2019 LabVIEW via Mobile and Web Browsing

    17/17

    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