I'm pretty new in LV, so, be indulgent ! Here is my problem : I have a VI with 5 tabs, and I'd like to place other SubVis into each tabs (because if I copy their contents into the main VI, it becomes a mess in the block diagram !). The SubVis must execute in parallel, and with the tabs system, the user can navigate. Do you have any suggestions to solve my problem ?? Thx a lot
Thank you Joe, I'm trying to find how to use subpanel (I have the french version of LV 7.1, so, it's sometimes pretty difficult to find objects by their english names)
Use a case statement. Wire your Tab Control into a case statement. Create a case for each Tab and then place your code for each tab in the appropriate case. Attached is a simple example.
Thank you Chad, but there are two problems with this solution for my problem :
--> the SubVis must execute simultaneously (here, if you look the tab 2, the 1 is not running) --> this exemple is very simple, but the subvi I have to launch in each tabs are a little complex, and if I place my code directly in the case, the block diagram becomes very dirty !!
With Subpanels, it's working perfectly ! It's also very interesting for me because now, people who are developing VIs to add in the main IHM can work independently of the main VI. Thank you Joe and Chad