Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66782

How to update FPGA Reference inside Case Structure?

$
0
0

How do I update the FPGA References that are inside of a Case Structure? When I change/re-compile the FPGA VI, the references do not update.

 

Context:

I am building a 4-axis machine that uses the FPGA VI to monitor position switches. I have built an action engine for each axis comprised of a Enum Case Structure inside of a terminating While Loop with all pertinent information retained on un initialized shift registers. 

 

Details:

I have one Case that initializes the communication and uses "Open FPGA Reference" to put the FPGA VI Ref onto a shift register. Subsequent Cases use that FPGA VI Ref to transfer information. Works well. However, if I need to edit the FPGA VI and re-configure the "Open FPGA Reference" to that VI, the following items (e.g. FPGA I/O Node) do not update with the new information. 

 

The Nodes will update if I move the "Open FPGA Reference" in front of the While Loop, and open/close everytime the loop is called. However, that ends the FPGA VI. 

 

Is there a better solution? Am I missign something? 

 

THank you in advance for your help

 

-David


Viewing all articles
Browse latest Browse all 66782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>