Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5     Rate this Document

Calling LabVIEW FPGA VIs From TestStand

Primary Software: TestStand
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Modules>>FPGA Module

Problem:
I have created a project using LabVIEW FPGA that contains a Host VI and a FPGA VI. When I attempt to call the Host VI in TestStand, the step says the VI is broken. How can I resolve this and call my FPGA code from TestStand?

Solution:
The Host VI is broken because it doesn't contain the Input/Output reference of the FPGA device on its own. The reference to FPGA device is contained within the project and when trying to call the VI from outside the project, it lacks the appropriate deployment information.

To correct this issue you will need to create a bitfile of your FPGA VI and then have the Host VI point to the bitfile.  This is done automatically when you compile the VI which exists under an FPGA target.  To find the location of the bitfile, right-click the VI in the Project Explorer window and select Target Specific Properties from the shortcut menu. 

You can do this by using the Open FPGA Reference from within the Host VI, right-clicking on the Open FPGA Reference and selecting the bitfile you created. You can then call the Host VI from TestStand.

For more information on creating and using bitfiles, see the LabVIEW FPGA Help.

Related Links:
LabVIEW 8.6 FPGA Module Help
LabVIEW 8.6 FPGA Module Help: Viewing Bitfile Path for FPGA VIs (FPGA Module)

Attachments:





Report Date: 10/10/2006
Last Updated: 07/24/2009
Document ID: 4296DUQP

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit