Complete the following steps to configure a LabVIEW step to run remotely. The VI must be present on the local computer so TestStand can configure and run the VI.

  1. Click the Advanced Settings button on the LabVIEW Module tab to launch the LabVIEW Advanced Settings window, in which you can specify the name or an expression that evaluates to the name of the remote computer on which you want to run the VI.
  2. Specify the path to the remote VI using the following guidelines:
    ScenarioControl to Use in LabVIEW Advanced Settings Window
    The remote computer is running the LabVIEW development system or a LabVIEW executable, and you are calling a VI that is not a part of a LabVIEW project.Use the Remove VI Path control to specify the path to the VI on the remote computer.
    You are calling a VI that is part of a LabVIEW project.Use the Remote Project Path control to specify the path to the LabVIEW project on the remote computer, and use the Remote VI Path control to specify the path within the LabVIEW project to the VI you want to call.

Downloading VIs to a PXI Controller

You can use the LabVIEW development system to download VIs to a PXI controller that runs the LabVIEW Real-Time Module. You can also use the TestStand FTP Files step type to download files from and upload files to a remote computer.

Complete the following steps to use FTP to download VIs to the PXI controller.

  1. Use the LabVIEW development system to create a Source Distribution with all the VIs to ensure that you include all the dependencies of the VIs to transfer to the hard drive of the LabVIEW Real-Time (RT) target.
  2. In the distribution, disable the options to exclude VIs from the <LabVIEW>\vi.lib, <LabVIEW>\instr.lib, and <LabVIEW>\user.lib directories.
  3. Use FTP to transfer the source distribution output to the hard drive of the LabVIEW RT target.

After you download the VIs to the PXI controller running the LabVIEW RT module, you can use the Remote VI Path option in the LabVIEW Advanced Settings window to call the VIs.

Note
  • TestStand does not support remotely calling VIs that use projects on PXI controllers that run the LabVIEW Real-Time Module because LabVIEW RT does not support LabVIEW projects.
  • Refer to the Getting Started with the LabVIEW Real-Time Module manual (RT_Getting_Started.pdf) in the <LabVIEW>\manuals directory for more information about downloading VIs to a PXI controller.