To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to use the Up Cast function to convert a FPGA VI-specific reference to a more generic reference.
Description
The LabVIEW FPGA Up Cast Function converts an FPGA VI-specific reference to a more generic reference. You then can use common code to interact with different FPGA VIs/bitfiles. The FPGA targets must be of the same class, so they have to have the same FPGA VI front panel controls and DMA FIFOs. You may want to use this function if you want to evaluate different algorithms in a host VI without rewriting the host VI. Some FPGA targets might not support this function.
The example demonstrates how to use the Up Cast function and shows the difference between the Target and Interface mode of the Up Cast function in a commented disable structure.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Knowledgebase: Simulate FPGA Hardware Targets Using the Project Explorer with LabVIEW
http://digital.ni.com/public.nsf/allkb/F466AD83D24F041D8625714900709583
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.