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

Using SubVIs in Host VIs (FPGA Interface)

LabVIEW 8.5 FPGA Module Help
August 2007

NI Part Number:
371599C-01

»View Product Info

You can use subVIs in host VIs that communicate with FPGA VIs or bitfiles on FPGA targets. However, if you change the configuration of the Open FPGA VI Reference function or the Up Cast function, LabVIEW does not propagate the changes to the subsequent subVIs in the data flow unless you bind the reference output of the function to a type definition. Complete the following steps to bind the reference output of the Open FPGA VI Reference function or Up Cast function to a type definition.

  1. Right-click the Open FPGA VI Reference function or the Up Cast function on the host VI block diagram and select Bind to Typedef from the shortcut menu. The Save As dialog box appears.
  2. Type a name for a new type definition in the File name text box or navigate to an existing type definition in the Save As dialog box. If you type a name for the type definition in the File name text box, LabVIEW creates the type definition for you.
  3. Click the OK button.

LabVIEW now automatically updates the type definition you created whenever changes to the Open FPGA VI Reference function or the FPGA VI necessitate changes to the type definition. LabVIEW also propagates these changes any subVIs that reference this type definition. This allows the subVIs to remain consistent with the Open FPGA VI Reference function or Up Cast function.


Resources


 

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