My VI is a tabbed panel that will display various bit fields within an FPGA. These bitfields are represented by boolean indicators/controls, numeric indicators/controls, and some tables for memories. Data is relayed back from the FPGA in the form of a string via a telnet connection. My code parses this string (which contains data and address) and configures the relative front panel indicator/control accordingly.
This is all working fine. The issue is that I'm worried about the size of my VI. There are thousands of registers in this FPGA, and as I program in more regs, the size of my VI is increasing. All of these thousands of controls and indicators are currently contained within my main VI. However, they are organized by IP block and address within a case structure. So the top level case switches on IP block, then a sub-structure on address within the block. I say that to say that it's not like I have thousands of controls spread out over my block diagram, they are all organized.
What is the right way to dynamically load these things by their tab? So for instance, I have 8 clients, each identical, but each with it's own set of unique regs. Could I make it such that when the user clicks to Client 3 tab, then that tab is dynamically loaded, and it goes away when they click away? How difficult is this to do?
Thanks for the help