Error -1967390704 When Using Network Streams

Updated Jun 7, 2019

Reported In

Software

  • LabVIEW

Issue Details

When calling Create Network Stream Writer Endpoint I get following error:

Error -1967390704: Socket has been disconnected by its peer.



If I run the VI multiple times, I sometimes also get following error:

Error -314350: 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 writer 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 writer name terminal.

Solution

The cause for this error is, that the NI PSP Service Locator is not running.
  1. Open the windows services by searching for services.msc in the start menu.
  2. Find NI PSP Service Locator in the list of windows services, right-click and select Properties
  3. Select Automatic for Startup type, click Start, then click OK.
  4. Restart your PC.

Additional Information

The NI PSP Service Locator locates servers at the request of network variable clients and other proprietary NI network protocols. If this service is stopped or disabled, network variables and network streams will stop working.

WAS THIS ARTICLE HELPFUL?

Not Helpful