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

Why Do I Have a Broken Wire When Passing My FPGA VI Reference Into a SubVI?

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

Problem:
When passing an FPGA VI Reference wire into a SubVI, the wire that was once solid is now broken.  The error message states that I have connected two terminals of different types, or that I have connected two clusters of different elements. The type of the source is User Defined Refnum and the type of the sink is also User Defined Refnum. How do I fix this?

Solution:
LabVIEW 8.6:
In order to wire the FPGA reference into a SubVI, the Open FPGA VI Reference must bound to a type definition and the SubVI's must have this type definition as a control and not a regular FPGA VI reference. Complete the following steps to bind the reference output of the Open FPGA VI Reference function to a type definition.
  1. Right-click the Open FPGA VI Reference function on the host VI block diagram and select Configure Open FPGA VI Reference from the shortcut menu. In the dialog box that comes up, select Bind FPGA host reference to type definition and save the control (.ctl).
  2. Open the SubVI and replace the original FPGA VI Reference Out control with the new Type Definition.
  3. Reconnect the input and output terminals on the front panel of the subVI to the new FPGA VI Reference control and indicator.
LabVIEW 8.5:
Complete the following steps to bind the reference output of the Open FPGA VI Reference function to a type definition.
  1. Right-click the Open FPGA VI Reference function on the host VI block diagram and select Bind to Typedef from the shortcut menu.  When the Save As dialog box appears, save the control and then choose to add it to the project.
  2. Open the SubVI and replace the original FPGA VI Reference Out control with the new Type Definition.
  3. Reconnect the input and output terminals on the front panel of the subVI to the new FPGA VI Reference control and indicator.
LabVIEW will now automatically update the Type Definition you created whenever changes to the Open FPGA VI Reference function or the FPGA VI are made. LabVIEW also propagates these changes within any SubVIs that reference this type definition.

Related Links:
KnowledgeBase 3THDN18T: Getting Started With LabVIEW FPGA 8.x
NI LabVIEW FPGA Module

Attachments:





Report Date: 12/19/2007
Last Updated: 11/14/2008
Document ID: 4GICSB3S

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