Building VIs into Applications (WSN)
- Updated2023-02-21
- 2 minute(s) read
Building VIs into Applications (WSN)
After you develop a WSN VI for the WSN target, you can create a build specification and build the VI into an application that you can download and run on the WSN node.
Complete the following steps to create a build specification.
- Right-click Build Specifications under the WSN target in the Project Explorer window and select New»WSN Application to open the Build Specification Properties dialog box.
- Select the top-level VI for the application and click the blue arrow button to move the VI to the Top-level VI text box. WSN applications can have only one top-level VI.
- Click the OK button.
After you create the build specification you can build the VI into an application.
Right-click a build specification under the WSN target in the Project Explorer window and select Build to build the WSN VI into an application. The Build option builds only files that have changed since the last time you built the application.
![]() |
Note You can build WSN VIs on multiple WSN nodes in the same project simultaneously; however, you cannot build multiple VIs on the same WSN node simultaneously. |
The WSN System Monitor launches automatically when you build or deploy a WSN application or run a WSN VI. Use the WSN System Monitor to display information about all WSN nodes and WSN gateways in the LabVIEW project, determine the build and deployment progress of a WSN application on the target, and view debug messages sent by WSN nodes to the WSN gateway.
![]() |
Tip Specify a default WSN target build specification by right-clicking a build specification in the Project Explorer window and selecting Set as Default. If you create multiple build specifications for the target, you must specify a default build specification to use the Run button with WSN VIs. |