09-06-2009 09:55 AM
Does the code for each tab in a tab control all have to go on the one toplevel block diagram, or can code for each tab be sectioned off somehow? I want to try and keep my toplevel block diagram as simple as possible.
Thanks
09-06-2009
10:49 AM
- last edited on
08-11-2025
09:47 AM
by
Content Cleaner
You could 'section' off each code in a tab control in a separate subVI. You could use references to update the front panel controls placed in each tab. I would suggest bundling all controls for a particular subVI and passing that off into the subVI. Have a look at the following link:
How Can I Update the Front Panel of a Calling VI From a SubVI?
09-06-2009 02:55 PM
09-06-2009
03:09 PM
- last edited on
08-11-2025
09:48 AM
by
Content Cleaner
Yes, that is true. The other method that I would suggest is to use the subpanel contro. For example, you can use a subpanel control to design a user interface that behaves like a wizard. Add the Back and Next buttons to the front panel of the top-level VI and use a subpanel control to load different front panels for each step of the wizard. Have a look at the following:
Loading a Front Panel in a Subpanel Control
And, be sure to open Example Finder and search for subpanels.