如何在网络上使用远程VI服务器?



主要软件: LabVIEW Development Systems>>LabVIEW Full Development System
主要软件版本: 7.1
主要软件修正版本: N/A
次要软件: N/A

问题:
如何在网络上使用远程VI服务器?

解答:
首先,您需要在远程的计算机上打开一个在VI服务器上的LabVIEW应用程序的引用。这可以通过“Open Application Reference“函数实现。然后用“Open VI Reference”函数打开一个VI引用。之后,您便可以使用属性节点和调用节点了。(都可以在Functions » Application Control 面板上找到)。

关于VI服务器的几点重要的注意事项:
  1. LabVIEW 已经打开,并且所要调用的 VI 已经调入内存。
  2. 在 LabVIEW 6.x 及更高的版本中,打开菜单 Tools » Options... (在LabVIEW 5.x 及更低的版本中,为Edit » Preferences... ) ,然后完成下面的步骤:
    • 在 VI 服务器上:配置,检查TCP/IP 协议;
    • 在 VI 服务器上:TCP/IP 地址,允许访问远程计算机或者可通过使用星号(*)访问任意计算机。
    • 在 VI 服务器上:导出 VI,导出当地VI或使用星号(*)导出所有VI。


注意:当打开一个远程计算机上的LabVIEW应用程序引用时,您需要指定远程计算机的地址或名字。如果您使用远程计算机的主机名但应用程序得不到响应,很有可能是DNS的问题,即您使用的计算机无法正确解析远程计算机的IP地址。如果碰到这种情况,您可以尝试使用远程计算机的IP地址,而不是主机名。


相关链接:
The LabVIEW Internet Connectivity Toolkit expands the functionality of LabVIEW to include native interaction with popular internet protocols. Developers can easily utilize the existing internet infrastructure to remotely interact with VIs, transfer acquired data, and even serve and password protect sensitive information using the included G Web Server and CGI functionality. Low and high-level VIs can be used for varying degrees of control and complexity. For more information, click here.

You can purchase the toolkit separately or as part of NI Developer Suite, a modular product offering with which you can select software components based on your application needs.


附件:





报告日期: 01/07/1999
最近更新: 04/07/2008
文档编号: 1H6GHQ4S