LabVIEW Web Development Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services - Best Practices and Examples

Web Services - Best Practices and Examples

Several resources are available for learning how to design and implement efficient and extensible LabVIEW applications that provide web services for networked clients. This document is a collection of documentation, presentations, and example programs for LabVIEW Web Services. Get your smartphone or tablet connected!

Documentation

For when you want to just RTFM....

Hosting a Web Service

The LabVIEW Help explains the theory of operation and provides tutorials for creating web services in a project. Looking in the LabVIEW Help, the topic "LabVIEW Web Services" discusses topics from an introductory to expert level, ranging from configuring a web service to debugging and scripting web services.

Querying a Web Service

The LabVIEW Help also explains the theory of operation for the HTTP Client VI palette, which provides an API for an application to query a web service and interact with it. Refer to the "HTTP Client VIs" for more information.

Presentations

For when you want the step-by-step.

From the LabVIEW Virtual User Group

The LabVIEW Virtual User Group hosts monthly presentations on various LabVIEW programming techniques. In January 2011, one of NI's product managers for LabVIEW gave a presentation explaining web services and how to write, deploy, and secure web services with two examples: a multi-VI web service and extending a cRIO VI for web services.

    • Using web services to remotely monitor and control LabVIEW Applications

http://zone.ni.com/wv/app/doc/p/id/wv-2509

Examples

For when you want to see it in G.

From the LabVIEW Developers

LabVIEW also installs examples that demonstrate best practices for writing VIs that host web services. The examples are placed in the folder <LabVIEW root>\examples\comm\webservices. Follow these examples to write a web service that can send data to and recieve commands from a smartphone or tablet.

From the Community Developers

In addition to this group's examples, the community has written some examples that illustrate how to write VIs that query web services. Follow these examples to write a VI (or executable) that can recieve data from or send commands to a web service.

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
Comments
JoeySpinella
NI Employee (retired)
on

Hi Joe - I just moved this document into the new LabVIEW Web Development group to make it easier to find all web services content in one place.

Joey S.
Senior Product Manager, Software
National Instruments
JoeFriedchicken
Active Participant
Active Participant
on

Ok, thanks 🙂

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)