Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Using FPGA Targets in a LabVIEW Project (FPGA Module)

LabVIEW 2013 FPGA Module Help

Edition Date: June 2013

Part Number: 371599J-01

»View Product Info

You must create a LabVIEW project before you can create an application using an FPGA target. You then can add an FPGA target to the project and create FPGA VIs.

Use one of the following procedures to add an FPGA target to a project:

After you create the project with an FPGA target, you can perform the following tasks:

FPGA VI functionality varies depending upon the specific FPGA target. Refer to the specific FPGA target hardware documentation for more information on FPGA target functionality.

Adding an FPGA Target in the Local Development Computer

Complete the following steps to add an FPGA target that is installed in the local development computer to the Project Explorer window.

  1. Create a new project or open an existing project.
  2. Right-click My Computer in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
  3. Select Existing target or device to display the FPGA targets installed in the development computer.
    Tip  If you do not have an FPGA target, you can select New target or device to display the types of FPGA targets for which support is installed on the development computer. You can add any of these targets to the project as a stand-in for an actual target.
  4. Expand the FPGA Target folder. LabVIEW displays the FPGA targets that are installed in the local computer and for which support is installed on the local computer.
  5. Select an FPGA target from the list of available targets.
  6. Click the OK button. The FPGA target appears in the Project Explorer window under My Computer.

You now can add an FPGA VI under the FPGA target and develop the FPGA VI.

Adding an FPGA Target in a Real-Time System

Complete the following steps to add an FPGA target in an Real Time (RT) system to the Project Explorer window under an RT controller. Some FPGA targets cannot be used under an RT controller.

  1. Create the project and RT target with the Real-Time New Project Wizard.
  2. Right-click the RT target in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
  3. Select Existing target or device to display the FPGA targets installed in the RT system.
    Note  You might need to set access permissions for the RT controller to display existing FPGA targets in the Add Targets and Devices dialog box.
  4. Select an FPGA target from the list of available targets.
  5. Click OK. The FPGA target appears in the Project Explorer window under the RT target.

You now can add an FPGA VI under the FPGA target and develop the FPGA VI.

Adding an FPGA Target in a Remote Computer

After the remote FPGA target appears in MAX and you set access permissions to the remote system in which it resides, you can add that target to the Project Explorer window in LabVIEW and develop VIs to run on the target. Complete the following steps to add a remote system and its FPGA target to the Project Explorer window in LabVIEW.

  1. Right-click the project root in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
  2. Select New target or device and select Networked Computer/Device from the list and click OK. The remote system appears in the Project Explorer window.
  3. Right-click on Networked Computer/Device in the Project Explorer window and select Properties from the shortcut menu to display the Networked Computer/Device Properties dialog box.
  4. Assign the remote computer you just added an IP address in the Address text box.
  5. Click the OK button.
  6. Right-click the remote system you just added and select New»Targets and Devices from the shortcut menu.
  7. Select Existing target or device to display the FPGA targets installed in the development computer.
    Tip  If you do not have an FPGA target, you can select New target or device to display the types of FPGA targets for which support is installed on the development computer. You can add any of these targets to the project as a stand-in for an actual target.
  8. Click the OK button. The FPGA target appears in the Project Explorer window.

You now can add an FPGA VI under the FPGA target and develop the FPGA VI.


 

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