Distributing LabVIEW Block Diagrams for Execution
LabVIEW requires the LabVIEW SignalExpress execution engine to run LabVIEW SignalExpress steps converted to the LabVIEW block diagram. If you distribute the converted VI for use on other computers, make sure the target computer has LabVIEW SignalExpress installed. If the target computer does not have LabVIEW SignalExpress installed, you must use a source distribution to distribute the converted VI. The following sections contains guidelines for distributing VIs.
Distributing a VI to a Computer that Has LabVIEW SignalExpress Installed
Copy the VI to the target computer. You then can run the Express VI, open the Express VI and reconfigure the settings, and convert the Express VI to subVIs if necessary. You might need to update the device settings for any hardware steps you are using to make sure the VI can find the hardware on the target computer correctly.
Distributing a VI to a Computer that Does Not Have LabVIEW SignalExpress Installed
Complete the following steps to distribute a VI to a computer that does not have LabVIEW SignalExpress installed.
- In LabVIEW, select File»New Project to create a new LabVIEW project.
- In the Project Explorer window, right-click My Computer and select Add»File from the shortcut menu to add the converted VI to the project.
- Save the project.
- Right-click Build Specifications and select New»Source Distribution from the shortcut menu to display the Source Distribution Properties dialog box.
- Enter the location for the source distribution in the Destination directory text box. You can use the Browse button to navigate to and select a location.
- Click the Build button in the Source Distribution Properties dialog box to build the source distribution.
Note If LabVIEW returns an error, click the Remove unused members of project libraries option on the Additional Exclusions page of the Source Distribution Properties dialog box and click the Build button. |
- Copy the resulting folder from the destination directory to the target computer where you want to run the VI.
- Copy the labview\vi.lib\express\SignalExpress\Support folder from the computer that has LabVIEW SignalExpress installed to the labview folder on the target computer.
- Run the VI on the target computer. If you try to open the Express VI configuration view to reconfigure the operation, LabVIEW displays an error dialog box that indicates that you do not have the LabVIEW SignalExpress execution engine installed.
Note If you need to modify the VI, convert the Express VI into subVIs and modify the subVIs. |
Refer to the LabVIEW Help for more information about building source distributions in LabVIEW.