From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the "Dynamic FPGA Interface Cast" function for?

In shipping examples, there is one Host VI with a handful of subVIs.  However for more complex systems it is best to make an API for a given bitfile (or group of bitfiles).  The API has a subVI for each control, indicator, and 4-5 for each DMA-FIFO or P2P.  Each API subVI uses a "Dynamic FPGA Interface Cast" function to cast the reference to that specific control, indicator, and 4-5 for each DMA-FIFO or P2P (and nothing else).  This way if the bitfile interface changes, only those parts of the API need to be modified.  This has been especially helpful when you need to make a new Host VI for the same bitfile.  In other cases, parts of the API gets wrapped into bigger functions so that controls on the FPGA are set the same way each time.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 11 of 13
(466 Views)

Terry,

Thanks for the reply. Appreciate the clarification.

Regards

Jack Hamilton

0 Kudos
Message 12 of 13
(459 Views)

Hi

 

Could you state the name of the example. I'm struggling to find it....😳

 

Thanks

Best

0 Kudos
Message 13 of 13
(380 Views)