Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating a New Target from Scratch (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

Complete the following steps to create a new embedded target from scratch. National Instruments recommends copying and renaming an existing example target if possible.

  1. Create a folder in the labview\Targets directory.
    Note  National Instruments recommends using your company name, or some variation of your company name, when you create a new folder. For example, National Instruments targets are located in the labview\Targets\NI directory.
  2. Create an Embedded subfolder. LabVIEW does not recognize any targets not in an Embedded folder.
  3. Create an OS subfolder. For example, all of the example targets that run eCos are in the labview\Targets\NI\Embedded\ecos directory.
  4. Open your OS subfolder and create a subfolder with your target name.
  5. Launch LabVIEW.
  6. Select Tools»Microprocessor SDK»Target Editor from the Getting Started window, the Project Explorer window, or a blank VI to open the Target Editor.
  7. Select File»New in the Target Editor.
  8. Navigate to and select your Embedded folder.
  9. Right-click the Embedded folder in the Target Editor and select New»Folder from the shortcut menu. A New Folder folder appears under the Embedded folder.
  10. Right-click New Folder and select Rename from the shortcut menu to rename the folder. Rename the folder to match the OS name you created in Windows Explorer.
  11. Right-click your OS folder in the Target Editor and select New»Target from the shortcut menu. A New Target item appears under the New Folder folder.
  12. Right-click New Target and select Rename from the shortcut menu to rename the target.
  13. Right-click your renamed target and select New»Build Specification Type.
  14. Right-click New Build Specification Type and select Rename from the shortcut menu to rename the build specification type.
    Tip  Look at the example targets for examples of various build specification type names.
  15. Select File»Save As in the Target Editor and select your target folder to open the Save Target As dialog box.
  16. (Optional) LabVIEW prepends prefixes to the plug-in directory and VIs. Edit the prefix for your target in the Replace with text boxes.
  17. Click the OK button. LabVIEW creates your TgtSupp.xml file, which is the file LabVIEW uses to integrate your target into the LabVIEW development environment. This can take a few minutes. Click the OK button to close the dialog box.

After you create your target, you can configure the target properties and build specification type properties.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit