The purpose of this example is to show how to integrate a simple utility VI into the LabVIEW Tools Menu. Keep in mind, the VI used in this example is by no means complete -- it is intended as a simple example and should not be used as-is in your product.
- Download the attached 'Deploy - Dialog.vi' (saved for LabVIEW 2010)
- Navigate to your <LabVIEW Root>\project folder
- Create a new folder named 'Test Deployment'
- Copy 'Deploy - Dialog.vi' into the <LabVIEW Root>\project\Test Deployment folder created in step 4
- Close LabVIEW entirely
- Open LabVIEW
- Run the utility VI from the Tools menu by selecting Tools > Test Deployment > Deploy File to Real-Time Controller...
In order to view/edit the source for this VI:
- Create a blank VI
- From the block diagram of your blank VI, right-click to bring up the Functions Palette and select Select a VI...
- Navigate to the <LabVIEW Root>\project\Test Deployment folder and select the 'Deploy - Dialog.vi'
- Double-click on the subVI icon for 'Deploy - Dialog.vi' and open the block diagram to view/edit the contents