Error -1967390704 When Using Network Streams on LabVIEW

Updated May 3, 2024

Reported In


  • LabVIEW

Issue Details

I am using network streams, when calling Create Network Stream Writer Endpoint on LabVIEW, I get following error:

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



The cause for this error is, that the NI PSP Service Locator is not running. 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. To ensure it is running follow these steps: 
  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.

To automatically restart NI PSP Service Locator without restarting computer you can go to Recovery tab and click on First failure drop-down menu and select Restart the Service. You can change the time until restart in Restart service after. Default value is one minute.