Error -314000 when Using Network Streams on Real-Time Controller

Updated May 20, 2024

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller

Software

  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

I want to use a Network Stream to transfer data from my Real-Time controller to a VI running on my host computer. When I run the VI, I get error -314000:

LabVIEW cannot load the ni_nwstreams library. If you are using a desktop computer, you might need to repair your LabVIEW installation or reinstall LabVIEW or the LabVIEW Run-Time Engine. If you are using an RT target, verify that you installed the network streams feature with Measurement and Automation Explorer (MAX).

How do I resolve this error?

Solution

To resolve this error, you must install the Network Stream feature onto your Real-Time target in NI Measurement and Automation Explorer (MAX). To do so:
  1. Access the Add/Remove Software wizard for your remote target in NI MAX.
  2. Choose to install a recommended software set or a custom software installation and click Next.
  3. When choosing the components to install, check the box for Network Streams.
  1. Continue through the wizard to finish installing software on your controller.
Once the software has finished installing and the target has rebooted, you should be able to use Network Streams to transfer data between the Real-Time VI and Host VI.