Developer Center Resources

cancel
Showing results for 
Search instead for 
Did you mean: 

Target Deployment Utility Example

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.

  1. Download the attached 'Deploy - Dialog.vi' (saved for LabVIEW 2010)
  2. Navigate to your <LabVIEW Root>\project folder
  3. Create a new folder named 'Test Deployment'
  4. Copy 'Deploy - Dialog.vi' into the <LabVIEW Root>\project\Test Deployment folder created in step 4
  5. Close LabVIEW entirely
  6. Open LabVIEW
  7. 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:

  1. Create a blank VI
  2. From the block diagram of your blank VI, right-click to bring up the Functions Palette and select Select a VI...
  3. Navigate to the <LabVIEW Root>\project\Test Deployment folder and select the 'Deploy - Dialog.vi'
  4. Double-click on the subVI icon for 'Deploy - Dialog.vi' and open the block diagram to view/edit the contents
Contributors