Recommended Firewall Settings When Using Network Streams

Updated Nov 3, 2017

Reported In

Software

  • LabVIEW Datalogging and Supervisory Control Module
  • LabVIEW Full

Issue Details

I am using network streams in my application, what are the recommended firewall settings?

Solution

The Windows operating system can lock down security that blocks access to protocols that LabVIEW uses. In order to use network streams properly, there are certain processes that need exceptions in your firewall settings:
  • lkads.exe - NI PSP Service Locator
  • LabVIEW.exe - When running a VI that uses network streams in the LabVIEW development environment
  • <standalone application>.exe - When running a standalone executable that uses network streams.
Alternatively, you can open up the range of ports that LogosXT uses for communication. Please see the KnowledgeBase article Using Lookout, LabVIEW DSC and Network-Published Shared Variables with Firewalls for more information on this.

Additional Information

Note for Windows 7 users: Make sure that each Ethernet adapter you use is set to a "Home" or "Work" setting. If your network is set to Private, it will throw this error:

Error -1950678945 occurred at Create Network Stream Writer Endpoint in Host Side.vi

Possible reason(s):

LabVIEW:  The URL specifies a host name that does not correspond to the local host, but LabVIEW only supports the specified operation on the local host.  You cannot perform the specified operation on a remotely hosted variable or stream endpoint.

WAS THIS ARTICLE HELPFUL?

Not Helpful