Error 59 When Trying to Communicate With SystemLink Tags in LabVIEW

Updated Aug 3, 2023

Reported In

Software

  • SystemLink Server
  • LabVIEW

Issue Details

  • I am trying to write and get data from SystemLink tags in LabVIEW but I am getting Error 59: The network is down, unreachable, or has been reset. 

Solution

This error can happen due to firewalls blocking the communication between LabVIEW and SystemLink, work with your Network Administrators to eliminate any restrictions such as:
  • Closed Network Ports:
    • SystemLink Server uses ports per default ports 80 and 443 for HTTP communication, make sure these ports and any other potential you have set for HTTP communication are opened in both the server and the client. For more information related to the ports visit: Setting Up a SystemLink Server .
  • LabVIEW application is potentially blacklisted in your Network. 
  • Incorrect routing of a Network Proxy.

Additional Information

The Benchmarking Asynchronous Calls.vi example can also be used to confirm LabVIEW is capable of communicating through HTTP. This example sends HTTP GET requests to various URLs via raw TCP calls. Before running the example, create an indicator that displays the return values for the HTTP calls. The example can be found in the Application Control\VI Server\Asynchronous Call By Reference directory of the example finder.

image.png

If this example runs fine (i.e. if the indicator displays valid HTTP responses), then there may be an issue with the code specifically and the SystemLink API. But if this example doesn't return any responses, then your system may still be blocking the network traffic.