Send a Web Request From LabVIEW to Systemlink Server Using Get HTTP Method

Updated Oct 17, 2025

Environment

Software

  • SystemLink
  • SystemLink Server
  • LabVIEW
  • LabVIEW NXG Web Module

In addition to SystemLink API available in LabVIEW, it is possible to control SystemLink server externally using  HTTP APIs. This document explains how to use the GET method in LabVIEW as an example of using the HTTP APIs.

  1. Log in to SystemLink Web Application and from the Utility>>Tag menu, Create a new tag. 

 

 

 

  1. Double-click the created tag, enter an appropriate value and Save it.

 

 

 

  1. Click the question mark button ? on the upper right corner of Tag viewer,  and select HTTP API to access the Swaager UI's Tag Service domain.
 

 

  1. To get the current value of a specifc tag, use the  GET/v2/tags/ {path}/values​​/current  HTTP API. 

 

  1. Click Try it out
  2. Enter the name of the tag you created earlier and click Execute to send the request.

 

 

  1. A successfull request will return the code 200 and the tag value displayed in the Response body as below.

 

 

  1. A similar request can be made from LabVIEW using GET VI as follow. 
 
This is a LabVIEW snipet. Save the image and drag and drop the image file on a LabVIEW VI's block diagram.

 

  1. Replace the OpenHandle VI's "admin" and "password" with the corresponding Username and password used to log into SystemLink Web Application.
  2. The GET.vi input parameter is the Request URL from Responses operation in Swagger UI( check imagein step 7). Running this Programm in LabVIEW will return the same Responses as when executed in Swagger UI.

 

Attachments