Error -314350 When Using Network Streams in LabVIEW

Updated Mar 24, 2020

Reported In

Software

  • LabVIEW

Issue Details

I'm trying to connect a Network Streams writer endpoint to an existing reader endpoint but I get the following error:

Error -314350 occurred at Example.vi

Possible reason(s):

LabVIEW: Another application is already streaming data to an endpoint in the context you specified. If you specified a context name in the reader name or write name terminal of the endpoint, you must specify an unused context name. If you did not specify a context name, you must specify an unused context name by entering an endpoint URL in the reader name or write name terminal.

 

Solution

This error will occur in the following situation:
  1. A writer and a reader are created and linked.
  2. The writer is destroyed, leaving the reader orphaned.
  3. A new writer is created and attempts to connect to the existing reader. This will return error -314350.
The error description does not properly describe the situation that led to the error, rather it is a symptom. The problem occurs when connecting to a reader endpoint that is orphaned and in a bad state. See the additional steps below for further debugging.

Additional Information

To avoid other issues while using network streams, be sure to follow these additional considerations
  • Ensure the NI PSP Service Locator is running if using a Host PC.
  • Make sure that firewalls and antivirus are turned off or configured to allow NI hardware and software exceptions.
  • There are also some recommendations for firewall settings specific to network streams.
  • Make sure the endpoints for the network streams are specified correctly.
  • Make sure the NI Installer is not running or installing anything else at that time. If it is running in the background, or if the installation was paused, cancel the installation or let it finish and then reboot the computer.