Ports Used by Web Services Running in Real-Time Targets

Updated Aug 31, 2018

Reported In

Software

  • LabVIEW Real-Time Module
  • Web UI Builder

Issue Details

I am building a Web Service for my Real-Time application using LabVIEW. I will deploy this web service to my target (CompactRIO, sbRIO, myRIO, etc) and will connect to it using the browser and its IP according to: Components of a Web Service (Real-Time, Windows)

 

When I publish the web server from the project explorer, using Application Web Server»Publish, I can see my website in the port 8080, but when I deploy it as part of a Real-Time application (RT EXE) then I need to use port 8002. Why is this?

Solution

When using Web Services, the ports will behave by default in the following way:
 

 

Note: These ports and instructions apply for LabVIEW 2013 and higher.

Additional Information

Find more information about the URL Mappings for the LabVIEW Web Services here: Understanding URL Mappings and Query Strings in Web Services (Real-Time, Windows).

 

Understand how to use the LabVIEW Web Services with the following LabVIEW Help document: Tutorial: Creating and Accessing a LabVIEW Web Service (Real-Time, Windows).

WAS THIS ARTICLE HELPFUL?

Not Helpful