在实时控制器上使用网络流时出现错误-314000

更新 May 20, 2024

适用于

硬件

  • CompactRIO Controller
  • PXI Controller

软件

  • LabVIEW
  • LabVIEW Real-Time Module

问题详述

我想使用网络流(Network Streams)将数据从实时控制器传输到主机上运行的VI。当运行VI时,出现错误 -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).

如何解决此错误?

解决方案

需要解决该错误,必须在NI Measurement and Automation Explorer(MAX)中将网络流功能安装到实时目标上。为此:
  1. 访问NI MAX中远程目标的添加/删除软件向导
  2. 选择安装推荐软件或自定义软件安装,然后单击下一步。
  3. 选择要安装的组件时,选上Network Streams复选框。
  1. 继续通过向导以完成在控制器上的软件安装。
软件安装完成并且目标已重新启动后,您应该能够使用网络流在实时VI和主机VI之间传输数据。