SlideShare uma empresa Scribd logo
1 de 13
LabSocket
A New Web Application Development Tool
John Bergmans
Bergmans Mechatronics LLC
Remote Presentation to OC Hackerz Meetup Group, Orange County, CA
Apr 3 2014
B e r g man s M e c hat r on i c s LL C
Bergmans Mechatronics LLC
LabVIEW Development Environment
• Developed by National Instruments (http://ni.com)
• Popular for science and engineering applications
Rocket motor test stand control software created by BML using LabVIEW
(Developed for AirLaunch LLC as part of US Air Force/DARPA FALCON program)
Software User Interface Hot Firing
Bergmans Mechatronics LLC
LabVIEW Development Environment
• Uses graphical data flow language
• Each program or subroutine known as a “Virtual Instrument” or VI
User Interface (“Front Panel”)
Interface)
Program Logic (“Block Diagram”)
Bergmans Mechatronics LLC
LabSocket System
• Remote viewer client for LabVIEW applications
• Browser-based clients, no special client side requirements
• Data transmission to/from browser via HTML5 WebSocket
Browser
LabSocket Server
Platform
HTTP Server
ActiveMQ
Message Broker
“Target VI”
LabSocket
Support VIs
LabVIEW Host Platform
Browser
Browser
WebSocket
Interface
(Over TCP-IP)
TCP-IP
Socket
Interface
LabSocket Support VIs
Startup
- LabVIEW Front Panel screenscrape, send HTML and JavaScript code to HTTP server
Continous Operation
- Transmit updates of LabVIEW front panel to browser
- Update LabVIEW front panel when user generates events in browser
Bergmans Mechatronics LLC
Demo Configuration
Browser
LabSocket Server
HTTP Server
Message Broker
“Target VI”
LabSocket
Support VIs
MacBook Pro
Browser
Browser
WebSocket
Interface
(Over TCP-IP)
TCP-IP
Socket
Interface
San Jose, CA Huntsville, AL
labsocket.com
Anywhere
Bergmans Mechatronics LLC
Element Test VI
LabVIEW Front Panel Browser Representation
Bergmans Mechatronics LLC
LabSocket-MultiClient
LabSocket for Dynamic Web Applications
browser
(Target VI 1)
LabVIEW
HTTP Server
ActiveMQ
Message Broker
LabSocket
Support
VIs
LabVIEW Host PC
Server VI
Target
VI 2
Target VI
Prototype
(inactive)
Data exchange via
Functional
Globals or Queues
browser
(Target VI 2)
browser
(Target VI n)
…
LabSocket Server
Virtual Machine
Target
VI 1
Target
VI n
Bergmans Mechatronics LLC
LabSocket-MultiClient
…
• Each browser connects to unique instance of Target VI
• Each Target VI instance is a copy of an inactive Target VI prototype
• LabSocket Support VIs automatically start and stop Target VI instances
• Useful for applications in which users need to enter or retrieve user-specific information
Copyright © 2014 Bergmans Mechatronics LLC
• NB: With LabSocket-MultiClient, LabVIEW is now a dynamic web application authoring tool
Bergmans Mechatronics LLC
LabSocket-MultiClient
Copyright © 2014 Bergmans Mechatronics LLC
Target VI Three browsers, each connected
to unique instances of Target VI
Same Timestamp Unique Quiz States
Bergmans Mechatronics LLC
LabSocket-MultiClient
Copyright © 2014 Bergmans Mechatronics LLC
“Server VI” Monitoring in the Browser using LabSocket-Basic and LabSocket-MultiCllient
LabSocket-MC Start.viLabSocket Start.vi
Bergmans Mechatronics LLC
LabSocket-MultiClient
Copyright © 2014 Bergmans Mechatronics LLC
Server VI Monitoring in the Browser – Messaging via Queues
Three browsers, each connected
to unique instances of Target VI Server VI in Browser
browser
(Target VI 1)
LabVIEW
HTTP Server
ActiveMQ
Message Broker
LabSocket
Support
VIs
LabVIEW Host PC
“Quiz Server” VI
Target
VI 2
Target VI
Prototype
(inactive)
browser
(Target VI 2)
browser
(Target VI n)
…
LabSocket Server
Virtual Machine
Target
VI 1
Target
VI n
Bergmans Mechatronics LLC
Proposed: Auto Quiz Posting
…
Copyright © 2014 Bergmans Mechatronics LLC
WebSocket
Interface
Development PC
Target VI Target VI automatically
transmitted to and installed on
LabVIEW Host PC
Bergmans Mechatronics LLC
Thoughts
• LabVIEW / LabSocket as a system for rapid developent of dynamic web applications
(eg. Web app rapid prototyping)
• Download LabVIEW demo: http://www.ni.com/trylabview/
• Download LabSocket demo: http://labsocket.com/download.html
• LabSocket is an example of an application enabled by HTML5 WebSocket
• What other new type of applications can be enabled by WebSockets?
More Information
w: http://labsocket.com
t: @jbergmans
e: jbergmans@bergmans.com

Mais conteúdo relacionado

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Último (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Destaque

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

LabSocket - A New Web Application Development Tool

  • 1. LabSocket A New Web Application Development Tool John Bergmans Bergmans Mechatronics LLC Remote Presentation to OC Hackerz Meetup Group, Orange County, CA Apr 3 2014 B e r g man s M e c hat r on i c s LL C
  • 2. Bergmans Mechatronics LLC LabVIEW Development Environment • Developed by National Instruments (http://ni.com) • Popular for science and engineering applications Rocket motor test stand control software created by BML using LabVIEW (Developed for AirLaunch LLC as part of US Air Force/DARPA FALCON program) Software User Interface Hot Firing
  • 3. Bergmans Mechatronics LLC LabVIEW Development Environment • Uses graphical data flow language • Each program or subroutine known as a “Virtual Instrument” or VI User Interface (“Front Panel”) Interface) Program Logic (“Block Diagram”)
  • 4. Bergmans Mechatronics LLC LabSocket System • Remote viewer client for LabVIEW applications • Browser-based clients, no special client side requirements • Data transmission to/from browser via HTML5 WebSocket Browser LabSocket Server Platform HTTP Server ActiveMQ Message Broker “Target VI” LabSocket Support VIs LabVIEW Host Platform Browser Browser WebSocket Interface (Over TCP-IP) TCP-IP Socket Interface LabSocket Support VIs Startup - LabVIEW Front Panel screenscrape, send HTML and JavaScript code to HTTP server Continous Operation - Transmit updates of LabVIEW front panel to browser - Update LabVIEW front panel when user generates events in browser
  • 5. Bergmans Mechatronics LLC Demo Configuration Browser LabSocket Server HTTP Server Message Broker “Target VI” LabSocket Support VIs MacBook Pro Browser Browser WebSocket Interface (Over TCP-IP) TCP-IP Socket Interface San Jose, CA Huntsville, AL labsocket.com Anywhere
  • 6. Bergmans Mechatronics LLC Element Test VI LabVIEW Front Panel Browser Representation
  • 8. browser (Target VI 1) LabVIEW HTTP Server ActiveMQ Message Broker LabSocket Support VIs LabVIEW Host PC Server VI Target VI 2 Target VI Prototype (inactive) Data exchange via Functional Globals or Queues browser (Target VI 2) browser (Target VI n) … LabSocket Server Virtual Machine Target VI 1 Target VI n Bergmans Mechatronics LLC LabSocket-MultiClient … • Each browser connects to unique instance of Target VI • Each Target VI instance is a copy of an inactive Target VI prototype • LabSocket Support VIs automatically start and stop Target VI instances • Useful for applications in which users need to enter or retrieve user-specific information Copyright © 2014 Bergmans Mechatronics LLC • NB: With LabSocket-MultiClient, LabVIEW is now a dynamic web application authoring tool
  • 9. Bergmans Mechatronics LLC LabSocket-MultiClient Copyright © 2014 Bergmans Mechatronics LLC Target VI Three browsers, each connected to unique instances of Target VI Same Timestamp Unique Quiz States
  • 10. Bergmans Mechatronics LLC LabSocket-MultiClient Copyright © 2014 Bergmans Mechatronics LLC “Server VI” Monitoring in the Browser using LabSocket-Basic and LabSocket-MultiCllient LabSocket-MC Start.viLabSocket Start.vi
  • 11. Bergmans Mechatronics LLC LabSocket-MultiClient Copyright © 2014 Bergmans Mechatronics LLC Server VI Monitoring in the Browser – Messaging via Queues Three browsers, each connected to unique instances of Target VI Server VI in Browser
  • 12. browser (Target VI 1) LabVIEW HTTP Server ActiveMQ Message Broker LabSocket Support VIs LabVIEW Host PC “Quiz Server” VI Target VI 2 Target VI Prototype (inactive) browser (Target VI 2) browser (Target VI n) … LabSocket Server Virtual Machine Target VI 1 Target VI n Bergmans Mechatronics LLC Proposed: Auto Quiz Posting … Copyright © 2014 Bergmans Mechatronics LLC WebSocket Interface Development PC Target VI Target VI automatically transmitted to and installed on LabVIEW Host PC
  • 13. Bergmans Mechatronics LLC Thoughts • LabVIEW / LabSocket as a system for rapid developent of dynamic web applications (eg. Web app rapid prototyping) • Download LabVIEW demo: http://www.ni.com/trylabview/ • Download LabSocket demo: http://labsocket.com/download.html • LabSocket is an example of an application enabled by HTML5 WebSocket • What other new type of applications can be enabled by WebSockets? More Information w: http://labsocket.com t: @jbergmans e: jbergmans@bergmans.com