Configuring the LabVIEW VI Server to Run VIs Remotely

The LabVIEW development system or LabVIEW executable from which you call a VI must be running on the remote computer, and you must configure the development system or built executable to allow VI calls through the TCP/IP protocol of the VI Server.

You can configure the VI Server settings for the following test system configurations:

  • A main application instance—Select Tools»Options in LabVIEW to launch the Options dialog box and select the VI Server category.
  • A project application instance—Right-click My Computer in the LabVIEW Project Explorer window, select Properties from the context menu to launch the My Computer Properties dialog box, and select the VI Server category.
  • A target, such as a LabVIEW Real-Time Server—Right-click the appropriate target in the LabVIEW Project Explorer window, select Properties from the context menu to launch the Target Properties dialog box, and select the VI Server category.
  • A LabVIEW-built executable—Add VI Server-specific settings to the LabVIEW configuration INI file associated with the executable, or use the Server properties of the Application class to programmatically enable and configure the VI Server for a running application.

Configuring Additional VI Server Options

Use the following sections in the Options dialog box in LabVIEW to further configure a VI Server:

  • VI Server category—Enable the TCP/IP protocol and the VI call options. You can also specify the TCP/IP port the server uses. The port you specify in LabVIEW must be the same port you specify in TestStand in the LabVIEW Advanced Settings window.
  • Machine Access section of the VI Server category—Allow specific computers access to the VI Server. You can also specify certain computers or entire domains that can call VIs on the server computer.
  • Exported VIs section of the VI Server category—Configure the VIs you want to call through the VI Server. You must export all VIs you want to call remotely from TestStand. The default setting in LabVIEW is to export all VIs. The asterisk (*) in the Exported VIs list control indicates this setting.

Configuring VI Server Security

TestStand does not support user-based VI security for executing VIs on remote computers. You must use the Machine access list in the Machine Access section of the VI Server category in the Options dialog box in LabVIEW to protect a VI server on a remote computer.