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

Document Type: Tutorial
NI Supported: Yes
Publish Date: Nov 16, 2009


Feedback


Yes No

Related Links - Developer Zone

Related Links - Products and Services

Moving Examples to Another FPGA Target

5 ratings | 4.00 out of 5
Read in | Print

Overview

Effectively extract FPGA examples from the example finder.

When you install support for an FPGA target, the installation will include examples. The examples are configured for a specific target and are not necessarily configured for the target you are using. If the examples are configured for a different target, you can still use the examples by copying the items to a new project with a new FPGA target.

  1. Create a new project and add a new target.


  2. For this example we will be adding a cRIO target to use the Quadrature Decoder with Position & Velocity - NI 9505.lvproj example from the NI Example Finder. Select the FPGA VI, I/O being used, module and memory under the original target in the example. Copy the selection and paste the items under the new target.
    Note: The new target must support all items. Refer to the Reusing FPGA Objects (FPGA Module) topic for more information about reusing items


  3. Recompile the FPGA VI by right-clicking the FPGA VI and selecting Compile

  4. If the program includes a host VI, you must update the Open FPGA VI references. To update the references, right-click the Open FPGA VI Reference function, choose Configure Open FPGA VI Reference from the shortcut menu, and navigate to the FPGA VI in the new target

Note: Users should copy the files out of the directory, or do a "save as" on all VIs to avoid editing the examples and track files since the new project will be in different place from the example VIs.


Related Links:
Reusing FPGA Objects (FPGA Module)

5 ratings | 4.00 out of 5
Read in | Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).