Communicating Data with Web Services Using WebVIs
- Updated2023-02-17
- 2 minute(s) read
Communicating Data with Web Services Using WebVIs
You can communicate with web services on the same network and cloud web services using LabVIEW NXG WebVIs.
Use the following tables to choose the best communication option for your needs.
| Goal | Web service to use | How to implement |
|---|---|---|
| Track a piece of data, such as a hardware measurement. | Tags Service | Transferring Data Using Tags |
| Send commands, status updates, and data between web applications and servers. | Messages Service | Sending Messages Between Systems |
| Share waveform data stored in a TDMS file. | TDM Reader API Service | Reading Measurement Data from TDMS Files |
| Host a WebVI to make it accessible from web browsers. | NI Web Server | Hosting a Web Application on the NI Web Server |
| Create a custom HTTP REST API to interface with an existing system, such as a database. | LabVIEW Web Service | Creating and Accessing a LabVIEW Web
Service Note Download the latest LabVIEW Help for the most
up-to-date content. |
| Configuring CORS for a LabVIEW Web Service | ||
| Hosting a Web Application on the LabVIEW Application Web Server | ||
| Stream data with low latency. | 3rd party WebSocket service Note LabVIEW and LabVIEW
NXG do not support listening for WebSocket connections at this
time. |
WebSocket G APIs |
| Goal | Web service to use | How to implement |
|---|---|---|
| Share tags and messages securely over the internet. | SystemLink Cloud Tags and Messages | Connecting to SystemLink Cloud from LabVIEW NXG Web Module |
| Sharing Data Across Systems | ||
| Host a WebVI securely on the internet. | SystemLink Cloud Visualizations | Hosting a Web Application on SystemLink Cloud |
| Make local tags and messages available securely on the internet. | SystemLink Cloud Connector | Connecting to SystemLink Cloud |
Related Information
- Retrieving Data From a Web Service
- Considerations When Accessing Data from Web Services
If you want to create a web application that sends requests to and receives responses from a web service, you need to know the origin of the web service that hosts the web application as well as the origin of the target web service.
- Hosting a Web Application on a Server
To make your web application available to other users, host your build output on a web server that is accessible to other users.